KyivKrishnaAcademy/ved_akadem_students

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

Summary

Maintainability
Test Coverage
.row
  .col-xs-12
    %h2.text-center
      = t('.restore_password')

.row.vert-offset-top-1
  .col-xs-12.col-sm-offset-3.col-sm-6.col-md-offset-4.col-md-4
    = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
      = f.error_notification

      .form-inputs
        = f.input :email, autofocus: true

      .form-actions
        = f.button :submit, t('.send_me'), class: 'col-xs-12'

.row.vert-offset-top-2
  .col-xs-12.col-sm-offset-3.col-sm-6.col-md-offset-4.col-md-4
    = render 'devise/shared/links'