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

4 lines
139 B
Text

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