Sha256: 996a4bc23602a84785d0df6bf24b14f7ebf1941ddf1b3c9bac21850f23fda149

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

- @page_title = _('Resend confirmation instructions')

.devise
  .devise__form
    .devise__form__wrapper
      = form_for(resource, as: resource_name, url: user_confirmation_path, html: { method: :post }) do |f|

        - if resource.errors.any?
          .error
            %h2= format(n_('An error prevented the instructions from being sent:',
                                '%<nb>i errors prevented the instructions from being sent:',
                                resource.errors.count), nb: resource.errors.count)
            %ul
              - resource.errors.full_messages.each do |message|
                %li= message

        .field
          = f.label :email
          .field-input= f.email_field :email,
                          autofocus: true,
                          autocomplete: 'email',
                          value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
        .actions
          = f.submit _('Resend confirmation instructions'), class: 'btn btn--brand btn--block'

  = render 'elabs/auth/shared/links'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
elabs-4.0.0 app/views/elabs/auth/confirmations/new.html.haml
elabs-3.0.0 app/views/elabs/auth/confirmations/new.html.haml
elabs-2.0.0 app/views/elabs/auth/confirmations/new.html.haml
elabs-2.0.0.pre app/views/elabs/auth/confirmations/new.html.haml