<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<ul id="msgops">
			<li>${h.link_to(_('Account details'), url(controller='accounts', action='detail', userid=c.sign.user_id))}</li>
		</ul>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<h3 class="head smaller lighter blue">${_('Delete email signature')}</h3>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		${h.form(url('account-sigs-delete', sigid=c.sign.id), method='post')}
		${h.HTML.div(c.form.csrf_token, style="display: none;")}
		<div class="row-fluid">
			<div class="control-group${' error' if c.form.signature_content.errors else ''}">
				<div class="controls span12">
				    ${c.form.signature_content(class_="span12", readonly='readonly')}
					% if c.form.signature_content.errors:
					<span class="help-inline">${u', '.join([unicode(ferr) for ferr in c.form.signature_content.errors])}</span>
					% endif
				</div>
			</div>
			<div class="control-group">
				${c.form.enabled.label(class_="control-label span4")}
				<div class="controls span8">
					${c.form.enabled}
					% if c.form.enabled.errors:
					<span class="help-inline">${u', '.join([unicode(ferr) for ferr in c.form.enabled.errors])}</span>
					% endif
				</div>
			</div>
		</div>
		<div class="form-actions">
			<button id="submit-button" class="btn btn-small btn-success"><i class="icon-ok"></i> ${_('Delete signature')}</button>
		</div>
		${h.end_form()}\
	</div>
	<div class="span1 hidden-phone"></div>
</div>


<%def name="title()">
${_('Settings :: Delete email signatures')}
</%def>

<%def name="heading()">
${_('Settings :: Delete email signatures')}
</%def>

<%def name="headers()">
</%def>
<%def name="submenu()"></%def>
<%def name="localscripts()">
</%def>

<%inherit file="../base.html"/>
