demarches-normaliennes/app/views/fields/attestation_template_field/_show.html.haml

34 lines
601 B
Text
Raw Normal View History

2019-03-06 14:43:04 +01:00
- if field.data
%strong Activée
%p
= field.data.activated
%strong Logo
%p
2019-08-28 14:27:41 +02:00
- if field.data.logo.attached?
2019-08-28 13:11:58 +02:00
= image_tag field.data.logo_url
2019-03-06 14:43:04 +01:00
- else
Aucun
%strong Titre
%pre{ style: "white-space: pre-wrap;" }
= field.data.title
%strong Corps
%pre{ style: "white-space: pre-wrap;" }
= field.data.body
%strong Signature
%p
2019-08-28 14:27:41 +02:00
- if field.data.signature.attached?
2019-08-28 13:11:58 +02:00
= image_tag field.data.signature_url
2019-03-06 14:43:04 +01:00
- else
Aucun
%strong Pied de page
%pre{ style: "white-space: pre-wrap;" }
= field.data.footer
- else
2021-05-26 15:16:30 +02:00
Aucun modèle dattestation