2022-11-30 17:21:11 +01:00
- content_for(:title, t(".title", scope: :metas, number: @dossier.id.to_s, procedure_label: @dossier.procedure.libelle))
2018-08-29 17:09:48 +02:00
2018-09-06 17:42:51 +02:00
- content_for :footer do
2019-03-25 10:53:45 +01:00
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
2018-09-06 17:42:51 +02:00
2023-06-27 12:25:29 +02:00
.dossier-container.fr-mb-4w
2019-03-25 10:53:45 +01:00
= render partial: 'users/dossiers/show/header', locals: { dossier: @dossier }
2018-08-14 15:06:44 +02:00
2023-04-23 20:44:35 +02:00
- if @dossier.en_construction?
.fr-container
.fr-grid-row.fr-grid-row--center
2023-06-29 00:32:53 +02:00
.fr-col-xl-10
2023-04-23 20:44:35 +02:00
= render Dossiers::EnConstructionNotSubmittedComponent.new(dossier: @dossier, user: current_user)
2018-10-17 12:12:32 +02:00
= render partial: 'shared/dossiers/demande', locals: { dossier: @dossier, demande_seen_at: nil, profile: 'usager' }
2018-08-14 15:06:44 +02:00
2023-04-28 10:33:01 +02:00
2023-06-27 12:25:29 +02:00
.fr-container.fr-mt-2w
.fr-grid-row.fr-grid-row--center
2023-06-29 00:32:53 +02:00
.fr-col-xl-10
2023-06-22 17:17:53 +02:00
- if !@dossier.read_only?
= link_to t('views.users.dossiers.demande.edit_dossier'), modifier_dossier_path(@dossier), class: 'fr-btn fr-btn-sm', 'title'=> "Modifier mon dossier tant qu'il n'est pas passé en instruction"
.clearfix