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

34 lines
581 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 13:11:58 +02:00
- if field.data.logo?
= 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 13:11:58 +02:00
- if field.data.signature?
= 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
Aucun modèle d'attestation