${_('Add email signature')}

${h.form(url('account-sigs-add', userid=c.account.id), method='post')} ${h.HTML.div(c.form.csrf_token, style="display: none;")}
${c.form.signature_type.label}
${c.form.signature_type}
% if c.form.signature_content.errors:
${u', '.join([unicode(e) for e in c.form.signature_content.errors])}
% endif
${h.highlight_errors(c.form.signature_content)}
${c.form.enabled.label}
${c.form.enabled}
 
${h.submit('submit', _('Add signature'))}
${h.end_form()}\
<%def name="title()"> ${_('Settings :: Add email signatures :: %s') % c.account.username} <%def name="heading()"> ${_('Settings :: Add email signatures :: %s') % c.account.username} <%def name="headers()"> ${h.stylesheet_link(h.media_url() + 'css/jquery.cleditor.css', h.media_url() + 'css/jquery.wysiwyg.css', h.media_url() + 'css/wysiwyg.fileManager.css')} <%def name="localscripts()"> ${h.javascript_link(h.media_url() + 'js/jquery.cleditor.min.js', h.media_url() + 'js/jquery.cleditor.imgs.js', h.media_url() + 'js/baruwa/signatures.js')} <%include file="/includes/signaturejs.html"/> <%inherit file="/base.html"/>