cortex-cms/cortex

View on GitHub
app/views/cortex/authentication/passwords/new.html.haml

Summary

Maintainability
Test Coverage
.mdl-color-text--grey-800.mdl-cell.mdl-cell--4-col.mdl-cell--12-col-tablet
  .mdl-grid.mdl-card
    .mdl-cell.mdl-cell--12-col
      %h2 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
        .actions
          = f.submit "Send me reset password instructions"
      = render 'cortex/authentication/shared/links'