demarches-normaliennes/app/views/new_gestionnaire/dossiers/avis.html.haml

10 lines
485 B
Text
Raw Normal View History

2017-11-17 23:40:51 +01:00
- content_for(:title, "Avis · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
2017-09-26 14:38:16 +02:00
= render partial: "header", locals: { dossier: @dossier }
.container
= render partial: "new_gestionnaire/shared/avis/form", locals: { url: avis_gestionnaire_dossier_path(@dossier.procedure, @dossier), must_be_confidentiel: false, avis: @avis }
2017-09-26 14:38:16 +02:00
- if @dossier.avis.present?
= render partial: 'new_gestionnaire/shared/avis/list', locals: { avis: @dossier.avis, avis_seen_at: @avis_seen_at }