{{#d-modal-body}}
  <form class="form-horizontal">
    <div class="input-group">
      <label for="security-key-name">{{i18n "user.second_factor.security_key.edit_description"}}</label>
      {{input name="security-key-name" type="text" value=model.name}}
    </div>
  </form>
{{/d-modal-body}}

<div class="modal-footer">
  {{d-button
    action=(action "editSecurityKey")
    class="btn-primary"
    label="user.second_factor.security_key.save"
  }}
  {{d-button
    action=(action "disableSecurityKey")
    class="btn-danger no-text"
    icon="trash-alt"
    aria-label="user.second_factor.disable"
    title="user.second_factor.disable"
  }}
</div>
