demarches-normaliennes/app/components/dsfr/callout_component/callout_component.html.haml

10 lines
234 B
Text
Raw Normal View History

%div{ class: callout_class }
- if title.present?
= content_tag(heading_level, class: 'fr-callout__title') do
= title
- if html_body?
.fr-callout__text= html_body
- if body?
%p.fr-callout__text= body
= bottom