demarches-normaliennes/app/views/experts/avis/sign_up.html.haml

17 lines
655 B
Text
Raw Normal View History

2021-02-25 10:05:19 +01:00
.two-columns.avis-sign-up
.columns-container
.column.left
%p.description= @dossier.procedure.libelle
%p.dossier Dossier nº #{@dossier.id}
.column
= form_for(User.new, url: sign_up_expert_avis_path(email: @email), method: :post, html: { class: "form" }) do |f|
2021-02-25 10:05:19 +01:00
%h1 Créez-vous un compte
= f.label :email, "Email"
= f.email_field :email, value: @email, disabled: true
= f.label :password, "Mot de passe"
= f.password_field :password, required: true, placeholder: "#{PASSWORD_MIN_LENGTH} caractères minimum"
= f.submit "Créer un compte", class: "button large primary expand"