2018-08-29 17:09:48 +02:00
|
|
|
- content_for(:title, "Nouveau dossier (#{@dossier.procedure.libelle})")
|
|
|
|
|
2019-01-07 12:17:11 +01:00
|
|
|
= render partial: "shared/dossiers/submit_is_over", locals: { dossier: @dossier }
|
2018-06-19 16:23:43 +02:00
|
|
|
|
2019-01-07 12:17:11 +01:00
|
|
|
- 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
|
|
|
|
2019-01-07 12:17:11 +01:00
|
|
|
%p.mb-1 Merci de remplir vos informations personnelles pour accéder à la démarche.
|
2018-06-25 18:07:16 +02:00
|
|
|
|
2020-03-23 16:11:20 +01:00
|
|
|
%span.form-label
|
2019-01-07 12:17:11 +01:00
|
|
|
%span.mandatory *
|
|
|
|
champs requis
|
2018-02-08 17:13:15 +01:00
|
|
|
|
2020-03-23 17:42:31 +01:00
|
|
|
%fieldset
|
|
|
|
%legend
|
|
|
|
= f.label :gender, class: "required"
|
|
|
|
.radios
|
|
|
|
%label
|
|
|
|
= f.radio_button :gender, Individual::GENDER_MALE
|
|
|
|
= Individual::GENDER_MALE
|
|
|
|
%label
|
|
|
|
= f.radio_button :gender, Individual::GENDER_FEMALE
|
|
|
|
= Individual::GENDER_FEMALE
|
2018-06-25 18:07:16 +02:00
|
|
|
|
2019-01-07 12:17:11 +01:00
|
|
|
.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
|
2018-06-25 18:07:16 +02:00
|
|
|
|
2019-01-07 12:17:11 +01:00
|
|
|
- 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"
|
2018-06-25 18:07:16 +02:00
|
|
|
|
2019-01-07 12:17:11 +01:00
|
|
|
= f.submit "Continuer", class: "button large primary expand"
|