chore(titre_identite): render template if exists

This commit is contained in:
Colin Darie 2022-11-23 13:25:41 +01:00
parent 3e617f34ec
commit 920f90d2e3
3 changed files with 11 additions and 7 deletions

View file

@ -0,0 +1,7 @@
= render Dsfr::DownloadComponent.new(attachment: attachment, name: "Modèle à télécharger") do |c|
- if administrateur_signed_in?
- c.with_right do
%span.fr-ml-2w.fr-text--xs.fr-text-mention--grey.visible-on-previous-hover
%span.fr-text-action-high--blue-france.fr-icon-questionnaire-line{ "aria-hidden": "true" }
= t('shared.ephemeral_link')