1
0

new.html.haml 658 B

12345678910111213
  1. - content_for :page_title do
  2. = t('auth.resend_confirmation')
  3. = simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
  4. = render 'shared/error_messages', object: resource
  5. .fields-group
  6. = 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')
  7. .actions
  8. = f.button :button, t('auth.resend_confirmation'), type: :submit
  9. .form-footer= render 'auth/shared/links'