d46dc7055d
two component. one of type de champ editor. one for viewable champs
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
- content_for(:title, t(".title", scope: :metas, number: @dossier.id.to_s, procedure_label: @dossier.procedure.libelle))
|
|
|
|
- content_for :footer do
|
|
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
|
|
|
|
.dossier-container.fr-mb-4w
|
|
= render partial: 'users/dossiers/show/header', locals: { dossier: @dossier }
|
|
|
|
- if @dossier.en_construction?
|
|
.fr-container
|
|
.fr-grid-row.fr-grid-row--center
|
|
.fr-col-xl-10
|
|
= render Dossiers::EnConstructionNotSubmittedComponent.new(dossier: @dossier, user: current_user)
|
|
.fr-container
|
|
.fr-grid-row.fr-grid-row--center
|
|
.fr-col-md-9
|
|
= render partial: 'shared/dossiers/demande', locals: { dossier: @dossier, demande_seen_at: nil, profile: 'usager' }
|
|
|
|
|
|
- if !@dossier.read_only?
|
|
.fr-container.fr-mt-2w
|
|
.fr-grid-row.fr-grid-row--center
|
|
.fr-col-xl-8.fr-col-offset-xl-2
|
|
%p= link_to t('views.users.dossiers.demande.edit_dossier'), modifier_dossier_path(@dossier), class: 'fr-btn fr-btn-sm',
|
|
title: t('views.users.dossiers.demande.edit_dossier_title')
|