Sha256: fa6bfcabf4c7d49c770a2b35fb2c59e3c2fcc80073212d03f98e4f408ab85fd7

Contents?: true

Size: 888 Bytes

Versions: 4

Compression:

Stored size: 888 Bytes

Contents

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

.devise
  .devise__form
    .devise__form__wrapper
      = form_for(resource, as: resource_name, url: unlock_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'
        .actions
          = f.submit _('Resend unlock 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/unlocks/new.html.haml
elabs-3.0.0 app/views/elabs/auth/unlocks/new.html.haml
elabs-2.0.0 app/views/elabs/auth/unlocks/new.html.haml
elabs-2.0.0.pre app/views/elabs/auth/unlocks/new.html.haml