demarches-normaliennes/app/components/dsfr/alert_component/alert_component.html.haml
2023-07-10 10:53:07 +02:00

5 lines
162 B
Text

%div{ class: alert_class(state) }
- if size != :sm
= content_tag(heading_level, class: 'fr-alert__title') do
= "#{prefix_for_state}#{title}"
= body