discourse/app/assets/javascripts/admin/templates/modal/admin_suspend_user.js.handl...

16 lines
565 B
Handlebars
Raw Normal View History

<div class="modal-body">
<form>
{{i18n admin.user.suspend_duration}}
2014-06-05 04:42:27 -04:00
{{textField value=duration maxlength="5" autofocus="autofocus"}}
{{i18n admin.user.suspend_duration_units}}<br/>
<br/>
{{{i18n admin.user.suspend_reason_label}}}<br/>
<br/>
{{textField value=reason class="span8"}}
</form>
</div>
<div class="modal-footer">
<button class='btn btn-danger' {{action suspend}} {{bind-attr disabled="submitDisabled"}}><i class='fa fa-ban'></i>{{i18n admin.user.suspend}}</button>
<a {{action closeModal}}>{{i18n cancel}}</a>
</div>