spielhoelle/zelos

View on GitHub
app/views/devise/passwords/new.html.haml

Summary

Maintainability
Test Coverage
.row
  .col.s12.m6.offset-m3.z-depth-4.card-panel.mt-5
    .col.s12
      %h3="Forgot your password?"
      = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
        = devise_error_messages!
        .field
          = f.label :email
          %br/
          = f.email_field :email, autofocus: true, class: ""
        .row.input-field
          = f.submit "Send me reset password instructions", class: "waves-effect waves-light btn col s12"
      %p
        = render "devise/shared/links"