Sprankelprachtig aan/afmeldsysteem

confirm_account_form.html.haml 979B

12345678910111213141516171819
  1. - content_for :title do
  2. = t 'authentication.confirm_account'
  3. .container
  4. = render 'shared/alerts'
  5. = form_for :account_confirmation, url: {action: 'confirm_account', token: params[:token]}, html: { class: 'central-form'} do |f|
  6. %h2.central-form-header.text-center
  7. = t 'authentication.confirm_account'
  8. = f.password_field :password, placeholder: t('authentication.new_password'), class: 'form-control input-top'
  9. = f.password_field :password_confirmation, placeholder: t('authentication.new_password_confirm'), class: 'form-control input-bottom'
  10. = f.submit t('authentication.confirm_account'), class: 'btn btn-primary btn-lg btn-block'
  11. .central-form
  12. %ul.hdis
  13. %li
  14. = link_to t(:log_in), {action: 'login', controller: 'authentication'}, {class: 'btn btn-secondary'}
  15. %li
  16. = link_to t('authentication.create_account'), {action: 'create_password', controller: 'authentication'}, {class: 'btn btn-secondary'}