2024-09-24 14:43:59 +02:00
|
|
|
- content_for(:title, t(".title", scope: :metas, procedure_label: @dossier.procedure.libelle))
|
2018-08-29 17:09:48 +02:00
|
|
|
|
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)
|
2024-04-18 11:28:49 +02:00
|
|
|
- if @dossier.procedure.for_tiers_enabled?
|
|
|
|
= form_for @dossier, url: identite_dossier_path(@dossier), method: :patch, html: { class: "form" }, data: {turbo: true, controller: :autosubmit} do |f|
|
2023-11-14 16:11:17 +01:00
|
|
|
|
2024-09-24 09:46:57 +02:00
|
|
|
%p.fr-text--sm= t('utils.asterisk_html')
|
|
|
|
|
2024-04-18 11:28:49 +02:00
|
|
|
%fieldset#radio-rich-hint.fr-fieldset{ "aria-labelledby" => "radio-rich-hint-legend radio-rich-hint-messages" }
|
|
|
|
%legend#radio-rich-hint-legend.fr-fieldset__legend--regular.fr-fieldset__legend
|
|
|
|
= t('views.users.dossiers.identite.legend')
|
2018-06-25 18:07:16 +02:00
|
|
|
|
2024-04-18 11:28:49 +02:00
|
|
|
.fr-fieldset__element
|
|
|
|
.fr-radio-group.fr-radio-rich
|
|
|
|
= f.radio_button :for_tiers, false, required: true, id: "radio-self-manage"
|
|
|
|
%label.fr-label{ for: "radio-self-manage" }
|
|
|
|
= t('activerecord.attributes.dossier.for_tiers.false')
|
|
|
|
.fr-radio-rich__img
|
|
|
|
%span.fr-icon-user-fill
|
|
|
|
.fr-fieldset__element
|
|
|
|
.fr-radio-group.fr-radio-rich
|
|
|
|
= f.radio_button :for_tiers, true, required: true, id: "radio-tiers-manage"
|
|
|
|
%label.fr-label{ for: "radio-tiers-manage" }
|
|
|
|
= t('activerecord.attributes.dossier.for_tiers.true')
|
|
|
|
.fr-radio-rich__img
|
|
|
|
%span.fr-icon-parent-fill
|
2023-11-14 16:11:17 +01:00
|
|
|
|
2024-04-18 11:28:49 +02:00
|
|
|
= f.submit t('views.users.dossiers.identite.continue'), class: 'visually-hidden'
|
2023-12-20 10:49:47 +01:00
|
|
|
|
2024-04-12 17:59:50 +02:00
|
|
|
= render Dossiers::IndividualFormComponent.new(dossier: @dossier)
|