demarches-normaliennes/app/components/dsfr/alert_component/alert_component.html.haml
2022-12-06 11:28:48 +01:00

4 lines
150 B
Text

%div{ class: "fr-alert fr-alert--#{state}" }
= content_tag(heading_level, class: 'fr-alert__title') do
= "#{prefix_for_state}#{title}"
= body