2018-08-29 17:09:48 +02:00
|
|
|
- content_for(:title, "Nouveau dossier (#{@dossier.procedure.libelle})")
|
|
|
|
|
2018-06-19 16:23:43 +02:00
|
|
|
- content_for :footer do
|
2018-09-12 13:24:14 +02:00
|
|
|
= render partial: "new_user/dossiers/dossier_footer", locals: { dossier: @dossier }
|
2018-06-19 16:23:43 +02:00
|
|
|
|
2018-02-08 17:13:15 +01:00
|
|
|
.two-columns
|
|
|
|
.columns-container
|
|
|
|
.column.preview
|
2018-10-04 09:31:26 +02:00
|
|
|
= render partial: "new_user/dossiers/demarche_overview", locals: { procedure: @dossier.procedure }
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2018-06-19 16:23:43 +02:00
|
|
|
.column.identity-form
|
2018-06-25 18:07:16 +02:00
|
|
|
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: @dossier }
|
|
|
|
|
|
|
|
- if !dossier_submission_is_closed?(@dossier)
|
|
|
|
= form_for @dossier.individual, url: update_identite_dossier_path(@dossier), html: { class: "form" } do |f|
|
|
|
|
%h1 Données d'identité
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2018-06-25 18:07:16 +02:00
|
|
|
%p.mb-1 Merci de remplir vos informations personnelles pour accéder à la démarche.
|
|
|
|
|
|
|
|
%label
|
|
|
|
%span.mandatory *
|
|
|
|
champs requis
|
|
|
|
|
|
|
|
= f.label :gender, class: "required"
|
|
|
|
= f.select :gender, ['M.', 'Mme'], {}, class: "small"
|
|
|
|
|
|
|
|
.flex
|
|
|
|
.inline-champ
|
|
|
|
= f.label :prenom, class: "required"
|
|
|
|
= f.text_field :prenom, class: "small", required: true
|
|
|
|
.inline-champ
|
|
|
|
= f.label :nom, class: "required"
|
|
|
|
= f.text_field :nom, class: "small", required: true
|
|
|
|
|
|
|
|
- if @dossier.procedure.ask_birthday?
|
|
|
|
= f.label :birthdate, class: "required"
|
|
|
|
= f.date_field :birthdate, value: @dossier.individual.birthdate, placeholder: 'format : AAAA-MM-JJ', required: true, class: "small"
|
|
|
|
|
|
|
|
= f.submit "Continuer", class: "button large primary expand"
|