Sprankelprachtig aan/afmeldsysteem

create_password_form.html.haml 844B

123456789101112131415161718192021
  1. - content_for :title do
  2. Create password
  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. Create password
  8. %p
  9. Creating an account requires that you have been registered beforehand by an administrator. Contact someone if your email address is not recognized.
  10. = f.email_field :email, placeholder: 'Email address', class: 'form-control input-only'
  11. = f.submit "Send email", class: 'btn btn-primary btn-lg btn-block'
  12. .central-form
  13. %ul.hdis
  14. %li
  15. = link_to "Login", {action: 'login', controller: 'authentication'}, {class: 'btn btn-secondary'}
  16. %li
  17. = link_to "Forgot password", {action: 'forgotten_password', controller: 'authentication'}, {class: 'btn btn-secondary'}