2017-02-14 17:08:14 +01:00
|
|
|
|
.col-xs-3.center
|
2016-12-06 13:56:33 +01:00
|
|
|
|
%h3 Mes informations
|
|
|
|
|
%p
|
2016-08-30 11:18:43 +02:00
|
|
|
|
Les informations de bases
|
|
|
|
|
%br
|
|
|
|
|
vous concernant.
|
|
|
|
|
|
2017-04-12 11:12:05 +02:00
|
|
|
|
.etape.etapes-informations.col-xs-9
|
2016-12-06 13:56:33 +01:00
|
|
|
|
= form_for @facade.dossier, url: { controller: '/users/dossiers', action: :update } do |f|
|
|
|
|
|
.row
|
2017-02-14 17:08:14 +01:00
|
|
|
|
.col-xs-12.padding-left-30
|
2016-12-06 13:56:33 +01:00
|
|
|
|
= f.hidden_field :id
|
2016-08-30 11:18:43 +02:00
|
|
|
|
|
2016-12-06 13:56:33 +01:00
|
|
|
|
= f.fields_for :individual, @facade.individual do |ff|
|
|
|
|
|
.form-group
|
|
|
|
|
%label
|
|
|
|
|
%h4
|
|
|
|
|
Civilité
|
2017-03-27 15:32:11 +02:00
|
|
|
|
= ff.select :gender, ['M.', 'Mme']
|
2016-12-06 13:56:33 +01:00
|
|
|
|
.form-group
|
|
|
|
|
%label
|
|
|
|
|
%h4
|
2016-12-07 17:55:34 +01:00
|
|
|
|
Nom *
|
2017-03-28 18:07:43 +02:00
|
|
|
|
= ff.text_field :nom, { class: 'form-control', required: true }
|
2016-12-06 13:56:33 +01:00
|
|
|
|
.form-group
|
|
|
|
|
%label
|
|
|
|
|
%h4
|
2016-12-07 17:55:34 +01:00
|
|
|
|
Prénom *
|
2017-03-28 18:07:43 +02:00
|
|
|
|
= ff.text_field :prenom, { class: 'form-control', required: true }
|
2016-12-06 13:56:33 +01:00
|
|
|
|
.form-group
|
|
|
|
|
%label
|
|
|
|
|
%h4
|
2016-12-07 17:55:34 +01:00
|
|
|
|
Date de naissance *
|
2017-07-25 17:27:09 +02:00
|
|
|
|
= ff.date_field :birthdate, { value: @facade.individual.birthdate, class: 'form-control', placeholder: 'jj/mm/aaaa', required: true }
|
2016-08-30 11:18:43 +02:00
|
|
|
|
|
2016-12-06 13:56:33 +01:00
|
|
|
|
%p
|
2017-04-06 19:58:11 +02:00
|
|
|
|
%label{ style: 'font-weight: normal;' }
|
2016-12-06 13:56:33 +01:00
|
|
|
|
= f.check_box :autorisation_donnees
|
2018-01-04 12:17:43 +01:00
|
|
|
|
J'accepte <a href="https://tps.gitbooks.io/tps-documentation/content/conditions-generales-dutilisation.html" target="_blank">les CGU</a>.
|
2016-12-06 13:56:33 +01:00
|
|
|
|
.row
|
2017-02-14 17:08:14 +01:00
|
|
|
|
.col-xs-5.col-xs-5
|
|
|
|
|
.col-xs-2.col-xs-2
|
2016-12-06 13:56:33 +01:00
|
|
|
|
= f.submit 'Etape suivante', class: "action", id: 'etape_suivante'
|
2017-02-14 17:08:14 +01:00
|
|
|
|
.col-xs-5.col-xs-5
|