2020-04-24 15:09:37 +00:00
|
|
|
= form_tag(admin_session_path, method: :post, class: 'new_user gl-show-field-errors', 'aria-live': 'assertive') do
|
2019-09-26 12:06:00 +00:00
|
|
|
.form-group
|
2020-03-13 12:09:22 +00:00
|
|
|
= label_tag :user_password, _('Password'), class: 'label-bold'
|
2021-10-18 18:11:13 +00:00
|
|
|
= password_field_tag 'user[password]', nil, class: 'form-control', autocomplete: 'current-password', required: true, title: _('This field is required.'), data: { qa_selector: 'password_field' }
|
2019-09-26 12:06:00 +00:00
|
|
|
|
|
|
|
.submit-container.move-submit-down
|
2020-10-13 15:08:53 +00:00
|
|
|
= submit_tag _('Enter Admin Mode'), class: 'gl-button btn btn-success', data: { qa_selector: 'enter_admin_mode_button' }
|