mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 17:44:24 +00:00
dd58db64d8
Fixes #23093
14 lines
658 B
Plaintext
14 lines
658 B
Plaintext
- content_for :page_title do
|
|
= t('auth.resend_confirmation')
|
|
|
|
= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
|
= render 'shared/error_messages', object: resource
|
|
|
|
.fields-group
|
|
= f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.email'), input_html: { 'aria-label': t('simple_form.labels.defaults.email') }, readonly: current_user.present?, hint: current_user.present? && t('auth.confirmations.wrong_email_hint')
|
|
|
|
.actions
|
|
= f.button :button, t('auth.resend_confirmation'), type: :submit
|
|
|
|
.form-footer= render 'auth/shared/links'
|