demarches-normaliennes/app/views/fields/attestation_template_field/_show.html.haml
2021-05-26 18:05:14 +02:00

33 lines
601 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

- if field.data
%strong Activée
%p
= field.data.activated
%strong Logo
%p
- if field.data.logo.attached?
= image_tag field.data.logo_url
- 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
- if field.data.signature.attached?
= image_tag field.data.signature_url
- else
Aucun
%strong Pied de page
%pre{ style: "white-space: pre-wrap;" }
= field.data.footer
- else
Aucun modèle dattestation