af83/chouette-core

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

Summary

Maintainability
Test Coverage
/ PageHeader

- content_for :page_header_title, t('.title')

/ PageContent
.page_content
  .container-fluid
    .row
      .col-lg-8.col-lg-offset-2.col-md-8.col-md-offset-2.col-sm-10.col-sm-offset-1
        = simple_form_for(resource, :as => resource_name, :url => password_path(resource_name), html: {class: 'form-horizontal', id: 'password_form' } ) do |form|
          .row
            .col-lg-12
              = form.input :email, :as => :email, placeholder: 'user@domain.com'

          = form.button :submit, :value => t("devise.passwords.new.commit"), class: 'btn btn-default formSubmitr', form: 'password_form'