Sprankelprachtig aan/afmeldsysteem

forgotten_password_form.html.haml 685B

123456789101112131415161718
  1. - content_for :title do
  2. Forgot password
  3. .container
  4. = render 'shared/alerts'
  5. = form_for :password_reset, url: '/forgot', html: {class:'central-form'} do |f|
  6. %h2.central-form-header.text-center
  7. Forgot password
  8. = f.email_field :email, placeholder: "Email address", class: 'form-control input-only'
  9. = f.submit "Send email", class: 'btn btn-primary btn-lg btn-block'
  10. .central-form
  11. %ul.hdis
  12. %li
  13. = link_to "Login", {action: 'login', controller: 'authentication'}, {class: 'btn btn-secondary'}
  14. %li
  15. = link_to "Create account", {action: 'create_password', controller: 'authentication'}, {class: 'btn btn-secondary'}