logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

two_factor.html.haml (539B)


  1. - content_for :page_title do
  2. = t('auth.login')
  3. = simple_form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f|
  4. = f.input :otp_attempt, type: :number, placeholder: t('simple_form.labels.defaults.otp_attempt'), input_html: { 'aria-label' => t('simple_form.labels.defaults.otp_attempt'), :autocomplete => 'off' }, required: true, autofocus: true, hint: t('simple_form.hints.sessions.otp')
  5. .actions
  6. = f.button :button, t('auth.login'), type: :submit
  7. .form-footer= render 'auth/shared/links'