<form id="quality-gate-form">
  <div class="modal-head">
    <h2>{{t 'quality_gates' method }}</h2>
  </div>
  <div class="modal-body">
    <div class="js-modal-messages"></div>
    <div class="modal-field">
      <label for="quality-gate-form-name">{{t 'name'}} <em class="mandatory">*</em></label>
      <input id="quality-gate-form-name" type="text" size="50" maxlength="100" value="{{name}}" required>
    </div>
  </div>
  <div class="modal-foot">
    <button id="quality-gate-form-submit">
      {{#eq method 'rename'}}{{t 'save'}}{{/eq}}
      {{#eq method 'copy'}}{{t 'copy'}}{{/eq}}
      {{#eq method 'create'}}{{t 'create'}}{{/eq}}
    </button>
    <a id="quality-gate-form-cancel" href="#" class="js-modal-close">{{t 'cancel'}}</a>
  </div>
</form>
