demarches-normaliennes/app/views/users/dossiers/demande.html.haml

21 lines
978 B
Text
Raw Normal View History

- 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
- content_for :footer do
2019-03-25 10:53:45 +01:00
= render partial: "users/procedure_footer", locals: { procedure: @dossier.procedure, dossier: @dossier }
.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
.fr-container
.fr-grid-row.fr-grid-row--center
.fr-col-md-9
- if @dossier.en_construction?
= render Dossiers::EnConstructionNotSubmittedComponent.new(dossier: @dossier, user: current_user)
2018-08-14 15:06:44 +02:00
= render partial: 'shared/dossiers/demande', locals: { dossier: @dossier, demande_seen_at: nil, profile: 'usager' }
- if !@dossier.read_only?
.fr-px-2w.fr-mt-2w
%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')