Sha256: b2ae242d7c3b908adafe4077f02a3f1ab7acb58ec25403eea5f2d5f89098d7b6

Contents?: true

Size: 907 Bytes

Versions: 4

Compression:

Stored size: 907 Bytes

Contents

- @page_title = _('Forgot your password?')

.devise
  .devise__form
    .devise__form__wrapper
      = form_for(resource, as: resource_name, url: user_password_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 _('Send me reset password 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/passwords/new.html.haml
elabs-3.0.0 app/views/elabs/auth/passwords/new.html.haml
elabs-2.0.0 app/views/elabs/auth/passwords/new.html.haml
elabs-2.0.0.pre app/views/elabs/auth/passwords/new.html.haml