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

17 lines
689 B
Text
Raw Normal View History

2017-06-20 13:50:20 +02:00
.two-columns.avis-sign-up
.columns-container
.column.left
%p.description= @dossier.procedure.libelle
%p.dossier Dossier nº #{@dossier.id}
.column
= form_for(Gestionnaire.new, url: { controller: "new_gestionnaire/avis", action: :create_gestionnaire }, method: :post, html: { class: "form" }) do |f|
2017-06-20 13:50:20 +02:00
%h1 Créez-vous un compte
2017-06-20 10:09:19 +02:00
2017-06-20 13:50:20 +02:00
= f.label :email, "Email"
= f.email_field :email, value: @email, disabled: true
2017-06-20 13:50:20 +02:00
= f.label :password, "Mot de passe"
= f.password_field :password, autofocus: true, required: true, placeholder: "8 caractères minimum"
2017-06-20 13:50:20 +02:00
= f.submit "Créer un compte", class: "button large primary expand"