{{#modal-dialog action="closeModal"}}
  <div class='card'>
    <div class='text-content'>
      <div class='content-header'>
        <h4>{{banConfirmString}}</h4>
      </div>
      <div class="item">
        <label>{{i18n 'Reason (Required)'}}</label>
        {{input value=reason class='string js-prefix code-input' placeholder=(i18n 'Please be as detailed as possible')}}
      </div>
      <div class="buttons">
        <button class="button button--text" {{action 'closeModal'}}><span>{{i18n "Cancel"}}</span></button>
        {{#common/button-element isDisabled=(eq reason.length 0) onClick=(action 'banUser')}}
          {{i18n 'Ban'}}
        {{/common/button-element}}
      </div>
    </div>
  </div>
{{/modal-dialog}}
