Files
mastodon/app/views/auth/sessions/sign_in_token.html.haml
jcoffey-dev 4dfbb64241
Chromatic / Check for relevant changes (push) Canceled after 0s
Chromatic / Run Chromatic (push) Canceled after 0s
Import Mastodon v4.7.4
Snapshot of upstream tag v4.7.4 (commit d04059fc80be5cbba6b4dd5a8b94d63ffff09f2c) from
https://github.com/mastodon/mastodon, unmodified.
2026-10-29 08:11:58 -07:00

25 lines
1023 B
Plaintext

- content_for :page_title do
= t('auth.login')
= simple_form_for(resource,
as: resource_name,
url: session_path(resource_name),
method: :post) do |f|
%h1.title= t('users.inactive_sign_in_title')
%p.lead= t('users.inactive_sign_in_confirmation')
.fields-group
= f.input :sign_in_token_attempt,
wrapper: :with_label,
label: t('simple_form.labels.defaults.sign_in_token_attempt'),
input_html: { 'aria-label' => t('simple_form.labels.defaults.sign_in_token_attempt'), :autocomplete => 'off' },
required: true,
autofocus: true
.actions
= f.button :button, t('simple_form.labels.defaults.sign_in_token_resend'), type: :submit, name: :sign_in_token_resend, class: 'secondary'
= f.button :button, t('auth.login'), type: :submit
- if Setting.site_contact_email.present?
%p.hint.subtle-hint= t('users.generic_access_help_html', email: mail_to(Setting.site_contact_email, nil))