mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 07:29:03 +01:00
dd58db64d8
Fixes #23093
13 lines
658 B
Text
13 lines
658 B
Text
- 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'
|