about summary refs log tree commit diff
path: root/app/views/auth/confirmations/new.html.haml
blob: a98257873ce520344279708e2eb268d577e93d00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- 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'