2018-04-23 17:22:20 +02:00
|
|
|
.dossiers-headers.sub-header
|
2023-06-29 15:03:22 +02:00
|
|
|
.fr-container
|
2018-09-05 14:48:42 +02:00
|
|
|
%h1.page-title Prévisualisation de la démarche « #{@dossier.procedure.libelle} »
|
2018-04-13 16:56:00 +02:00
|
|
|
|
2023-11-09 15:02:43 +01:00
|
|
|
%nav.fr-tabs
|
2023-11-14 12:05:17 +01:00
|
|
|
%ul.fr-tabs__list{ role: 'tablist' }
|
2021-12-24 18:10:50 +01:00
|
|
|
= tab_item('le dossier',
|
|
|
|
apercu_admin_procedure_path(@dossier.procedure, tab: 'dossier'),
|
|
|
|
active: @tab == 'dossier')
|
|
|
|
- if @dossier.champs_private.size > 0
|
|
|
|
= tab_item('les annotations privées',
|
|
|
|
apercu_admin_procedure_path(@dossier.procedure, tab: 'annotations-privees'),
|
|
|
|
active: @tab == 'annotations-privees')
|
2018-04-13 17:29:34 +02:00
|
|
|
|
|
|
|
- if @tab == 'dossier'
|
2022-04-07 11:42:20 +02:00
|
|
|
= render partial: "shared/dossiers/edit", locals: { dossier: @dossier }
|
2018-04-13 17:29:34 +02:00
|
|
|
- else
|
2022-05-07 17:49:27 +02:00
|
|
|
= render partial: "shared/dossiers/edit_annotations", locals: { dossier: @dossier, seen_at: nil }
|