summaryrefslogtreecommitdiff
path: root/app/views/admin/sessions/_new_base.html.haml
blob: 5be1c90d6aa8e56a7046e1de3cd2565b5ed297a2 (plain)
1
2
3
4
5
6
7
= form_tag(admin_session_path, method: :post, class: 'new_user gl-show-field-errors', 'aria-live': 'assertive') do
  .form-group
    = label_tag :user_password, _('Password'), class: 'label-bold'
    = password_field_tag 'user[password]', nil, class: 'form-control', required: true, title: _('This field is required.'), data: { qa_selector: 'password_field' }

  .submit-container.move-submit-down
    = submit_tag _('Enter Admin Mode'), class: 'btn btn-success', data: { qa_selector: 'enter_admin_mode_button' }