19 lines
859 B
Text
19 lines
859 B
Text
.a4-container{ class: class_names("french-state-layout": @attestation_template.french_state_layout?) }
|
|
.content
|
|
%header.first-header
|
|
.left
|
|
- if @attestation_template.label_logo.present?
|
|
= image_tag('centered_marianne.svg', alt: '', class: 'marianne')
|
|
.bloc-marque
|
|
= simple_format @attestation_template.label_logo, class: "intitule"
|
|
= image_tag('liberte2.svg', alt: '', class: 'devise')
|
|
|
|
.right
|
|
- if @attestation_template.label_direction.present?
|
|
= simple_format @attestation_template.label_direction, class: "direction"
|
|
|
|
.main
|
|
= sanitize(@body, attributes: %w[class style], tags: Rails.configuration.action_view.sanitized_allowed_tags + %w[header])
|
|
|
|
- if @attestation_template.footer.present?
|
|
= simple_format @attestation_template.footer, class: "footer"
|