Sprankelprachtig aan/afmeldsysteem

forgotten_password_form.html.haml 758B

123456789101112131415161718
  1. - content_for :title do
  2. = t 'authentication.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. = t 'authentication.forgot_password'
  8. = f.email_field :email, placeholder: t('person.attrs.email'), class: 'form-control input-only'
  9. = f.submit t(:send_email), class: 'btn btn-primary btn-lg btn-block'
  10. .central-form
  11. %ul.hdis
  12. %li
  13. = link_to t(:log_in), {action: 'login', controller: 'authentication'}, {class: 'btn btn-secondary'}
  14. %li
  15. = link_to t('authentication.create_account'), {action: 'create_password', controller: 'authentication'}, {class: 'btn btn-secondary'}