chore(titre_identite): render template if exists
This commit is contained in:
parent
3e617f34ec
commit
920f90d2e3
3 changed files with 11 additions and 7 deletions
7
app/views/shared/_piece_justificative_template.html.haml
Normal file
7
app/views/shared/_piece_justificative_template.html.haml
Normal 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')
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue