fatfreecrm/fat_free_crm

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

Summary

Maintainability
Test Coverage
.standalone#standalone
  = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
    .title= t(:forgot_password)
    .intro= t(:password_intro)
    .section
      .label= t(:email)
      = f.input_field :email, required: true, autofocus: true
    %br
    .buttonbar
      = f.button :submit, t(:reset_password), id: 'passwords_submit'