danimashu/sudamos

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

Summary

Maintainability
Test Coverage
- set_meta_tags noindex: true, nofollow: true

= title t("devise.passwords.edit.title")

= simple_form_for resource, as: resource_name, url: password_path(resource_name), html: { method: :put } do |f|
  = f.error_notification
  = f.input :reset_password_token, as: :hidden
  = f.full_error :reset_password_token

  = f.input :password, :label => t("devise.passwords.edit.password"), :required => true
  = f.input :password_confirmation, :label => t("devise.passwords.edit.password_conf"), :required => true
  .form-actions
    = f.button :submit, t("devise.passwords.edit.button"), :class => "btn-default"

= render :partial => "devise/shared/links"