41 lines
1.7 KiB
Text
41 lines
1.7 KiB
Text
.procedure-logos
|
||
- 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
|
||
- if procedure.euro_flag
|
||
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
|
||
%h1.procedure-title.fr-h2
|
||
= procedure.libelle
|
||
|
||
- if procedure.persisted? && procedure.estimated_duration_visible?
|
||
%p
|
||
%small
|
||
%span.fr-icon-timer-line
|
||
= t('shared.procedure_description.estimated_fill_duration', estimated_minutes: estimated_fill_duration_minutes(procedure))
|
||
|
||
|
||
= yield
|
||
|
||
- if procedure.auto_archive_on
|
||
%details.procedure-configuration--auto-archive
|
||
%summary
|
||
%span.icon.edit
|
||
|
||
%span.procedure-auto-archive-title Date limite : #{procedure_auto_archive_date(procedure)}
|
||
%p Vous pouvez déposer vos dossiers jusqu’au #{procedure_auto_archive_datetime(procedure)}.
|
||
|
||
- unless @no_description
|
||
.fr-accordions-group
|
||
%section.fr-accordion
|
||
%h2.fr-accordion__title
|
||
%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)
|