mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 03:23:42 +08:00
17 lines
613 B
Handlebars
17 lines
613 B
Handlebars
{{#d-modal-body title="admin.user.suspend_modal_title"}}
|
|
<form>
|
|
{{i18n 'admin.user.suspend_duration'}}
|
|
{{text-field value=duration maxlength="5" autofocus="autofocus"}}
|
|
{{i18n 'admin.user.suspend_duration_units'}}<br/>
|
|
<br/>
|
|
{{{i18n 'admin.user.suspend_reason_label'}}}<br/>
|
|
<br/>
|
|
{{text-field value=reason class="span8"}}
|
|
</form>
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
<button class='btn btn-danger' {{action "suspend"}} disabled={{submitDisabled}}><i class='fa fa-ban'></i>{{i18n 'admin.user.suspend'}}</button>
|
|
<a {{action "closeModal"}}>{{i18n 'cancel'}}</a>
|
|
</div>
|