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

16 lines
618 B
Text
Raw Normal View History

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