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

6 lines
162 B
Text
Raw Normal View History

%div{ class: alert_class(state) }
2023-06-29 13:53:23 +02:00
- if size != :sm
= content_tag(heading_level, class: 'fr-alert__title') do
= "#{prefix_for_state}#{title}"
= body