${_('Add email signature')}
${h.form(url('domain-sigs-add', domainid=c.domain.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.domain.name}
%def>
<%def name="heading()">
${_('Settings :: Add email signatures :: %s') % c.domain.name}
%def>
<%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>
<%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"/>
%def>
<%inherit file="/base.html"/>