mastodon/app/views/auth/challenges/new.html.haml
Baptiste Lemoine e2fca13650 replace input classes that are not input at all in haml views
Signed-off-by: Baptiste Lemoine <contact@cipherbliss.com>
2020-01-07 16:50:00 +01:00

16 lines
543 B
Plaintext

- content_for :page_title do
= t('challenge.prompt')
= simple_form_for @challenge, url: request.get? ? auth_challenge_path : '' do |f|
= f.not-a-real-input :return_to, as: :hidden
.field-group
= f.not-a-real-input :current_password, wrapper: :with_block_label, input_html: { :autocomplete => 'off', :autofocus => true }, label: t('challenge.prompt'), required: true
.actions
= f.button :button, t('challenge.confirm'), type: :submit
%p.hint.subtle-hint= t('challenge.hint_html')
.form-footer= render 'auth/shared/links'