~cytrogen/masto-fe

ref: ba73f0ea3a0bcfc21dc8f0111eac4f0bce7101ca masto-fe/app/views/auth/setup/show.html.haml -rw-r--r-- 724 bytes
ba73f0ea — Claire [Glitch] Add polling and automatic redirection to `/start` on email confirmation 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- content_for :page_title do
  = t('auth.setup.title')

= simple_form_for(@user, url: auth_setup_path) do |f|
  = render 'auth/shared/progress', stage: 'confirm'

  %h1.title= t('auth.setup.title')
  %p.lead= t('auth.setup.email_settings_hint_html', email: content_tag(:strong, @user.email))

  = render 'shared/error_messages', object: @user

  %p.lead
    %strong= t('auth.setup.link_not_received')
  %p.lead= t('auth.setup.email_below_hint_html')

  .fields-group
    = f.input :email, required: true, hint: false, input_html: { 'aria-label': t('simple_form.labels.defaults.email'), autocomplete: 'off' }

  .actions
    = f.submit t('auth.resend_confirmation'), class: 'button'

.form-footer= render 'auth/shared/links'