2019-01-08 08:20:49 +01:00
|
|
|
|
.procedure-logos
|
2020-05-14 18:11:13 +02:00
|
|
|
|
- procedure_logo_alt = ''
|
|
|
|
|
- if procedure.service.present?
|
|
|
|
|
- procedure_logo_alt = "#{procedure.service.nom} − #{procedure.service.organisme}"
|
|
|
|
|
= image_tag procedure.logo_url, alt: procedure_logo_alt
|
2019-10-21 17:18:05 +02:00
|
|
|
|
- if procedure.euro_flag
|
2019-09-24 16:38:58 +02:00
|
|
|
|
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
|
2023-05-22 15:36:48 +02:00
|
|
|
|
%h1.procedure-title.fr-h2
|
2019-01-08 08:20:49 +01:00
|
|
|
|
= procedure.libelle
|
2020-05-27 11:25:43 +02:00
|
|
|
|
|
2023-01-31 18:52:47 +01:00
|
|
|
|
- if procedure.persisted? && procedure.estimated_duration_visible?
|
2023-05-22 15:36:48 +02:00
|
|
|
|
%p
|
|
|
|
|
%small
|
|
|
|
|
%span.fr-icon-timer-line
|
|
|
|
|
= t('shared.procedure_description.estimated_fill_duration', estimated_minutes: estimated_fill_duration_minutes(procedure))
|
|
|
|
|
|
2023-05-25 15:19:55 +02:00
|
|
|
|
|
|
|
|
|
= yield
|
2022-05-24 11:39:03 +02:00
|
|
|
|
|
2020-05-27 11:25:43 +02:00
|
|
|
|
- if procedure.auto_archive_on
|
2023-05-22 15:36:48 +02:00
|
|
|
|
%details.procedure-configuration--auto-archive
|
2020-05-27 11:25:43 +02:00
|
|
|
|
%summary
|
2022-05-24 11:39:03 +02:00
|
|
|
|
%span.icon.edit
|
2020-05-27 11:25:43 +02:00
|
|
|
|
|
2020-05-27 18:04:22 +02:00
|
|
|
|
%span.procedure-auto-archive-title Date limite : #{procedure_auto_archive_date(procedure)}
|
2021-05-26 15:16:30 +02:00
|
|
|
|
%p Vous pouvez déposer vos dossiers jusqu’au #{procedure_auto_archive_datetime(procedure)}.
|
2020-05-27 11:25:43 +02:00
|
|
|
|
|
2023-05-25 15:19:55 +02:00
|
|
|
|
- unless @no_description
|
|
|
|
|
.fr-accordions-group
|
2023-05-23 15:24:42 +02:00
|
|
|
|
%section.fr-accordion
|
2023-05-24 11:18:54 +02:00
|
|
|
|
%h2.fr-accordion__title
|
2023-05-25 15:19:55 +02:00
|
|
|
|
%button.fr-accordion__btn{ "aria-controls" => "accordion-114", "aria-expanded" => "true" } Quel est l’objet de cette démarche ?
|
|
|
|
|
#accordion-114.fr-collapse.js_description
|
|
|
|
|
= h render SimpleFormatComponent.new(procedure.description, allow_a: true)
|
|
|
|
|
|
|
|
|
|
- if procedure.description_target_audience.present?
|
|
|
|
|
%section.fr-accordion
|
|
|
|
|
%h2.fr-accordion__title
|
|
|
|
|
%button.fr-accordion__btn{ "aria-controls" => "accordion-115", "aria-expanded" => "false" } À qui s’adresse la démarche ?
|
|
|
|
|
#accordion-115.fr-collapse.js_description_target_audience
|
|
|
|
|
= h render SimpleFormatComponent.new(procedure.description_target_audience, allow_a: true)
|