Sprankelprachtig aan/afmeldsysteem

create_password_form.html.haml 804B

123456789101112131415161718192021
  1. - content_for :title do
  2. = t 'authentication.create_account'
  3. .container
  4. = render 'shared/alerts'
  5. = form_for :user, url: '/register', html: {class: 'central-form'} do |f|
  6. %h2.central-form-header.text-center
  7. = t 'authentication.create_account'
  8. %p
  9. = t 'authentication.need_introducer'
  10. = f.email_field :email, placeholder: t('person.attrs.email'), class: 'form-control input-only'
  11. = f.submit t(:send_email), class: 'btn btn-primary btn-lg btn-block'
  12. .central-form
  13. %ul.hdis
  14. %li
  15. = link_to t(:log_in), {action: 'login', controller: 'authentication'}, {class: 'btn btn-secondary'}
  16. %li
  17. = link_to t('authentication.forgot_password'), {action: 'forgotten_password', controller: 'authentication'}, {class: 'btn btn-secondary'}