${_('Edit email signature')}
${h.form(url('domain-sigs-edit', sigid=c.sign.id), method='post')}
${h.HTML.div(c.form.csrf_token, style="display: none;")}
% if c.form.signature_content.errors:
${u', '.join([unicode(e) for e in c.form.signature_content.errors])}
% endif
${c.form.signature_content}
${c.form.enabled.label}
${c.form.enabled}
${h.submit('submit', _('Update signature'))}
${h.end_form()}\
<%def name="title()">
${_('Settings :: Edit email signatures')}
%def>
<%def name="heading()">
${_('Settings :: Edit email signatures')}
%def>
<%def name="headers()">
% if c.sign.signature_type == 2:
${h.stylesheet_link(h.media_url() + 'css/jquery.cleditor.css',
h.media_url() + 'css/jquery.wysiwyg.css',
h.media_url() + 'css/wysiwyg.fileManager.css')}
% endif
%def>
<%def name="localscripts()">
% if c.sign.signature_type == 2:
${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.edit.js')}
<%include file="/includes/signaturejs.html"/>
% endif
%def>
<%inherit file="/base.html"/>