anthonymidili/EasyKeep

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

Summary

Maintainability
Test Coverage
- provide(:title, 'Forget Something')

.row
  .small-12.medium-6.large-6.small-centered.columns
    %h2.main_page_header Forgot your password?
    .callout.secondary
      = form_for(resource, as: resource_name, url: password_path(resource_name),
      html: { method: :post }) do |f|
        = devise_error_messages!

        = f.label :email
        = f.text_field :email, autofocus: true
        %br/

        = f.submit 'Send me reset password instructions', class: 'button radius expanded'

      = render 'devise/shared/links'