demarches-normaliennes/app/views/shared/_procedure_description.html.haml

14 lines
619 B
Text
Raw Normal View History

.procedure-logos
- procedure_logo_alt = ''
- if procedure.service.present?
- procedure_logo_alt = "#{procedure.service.nom} #{procedure.service.organisme}"
= image_tag procedure.logo_url, alt: procedure_logo_alt
- if procedure.euro_flag
2019-09-24 16:38:58 +02:00
= image_tag("flag_of_europe.svg", id: 'euro_flag', class: (!procedure.euro_flag ? "hidden" : ""))
%h1.procedure-title
= procedure.libelle
.procedure-description
.procedure-description-body.read-more-enabled.read-more-collapsed
= h string_to_html(procedure.description)
= button_tag "Afficher la description complète", class: 'button read-more-button'