2023-06-21 12:24:45 +02:00
|
|
|
%div{ class: alert_class(state) }
|
2023-06-29 13:53:23 +02:00
|
|
|
- if size != :sm
|
2023-06-26 18:27:40 +02:00
|
|
|
= content_tag(heading_level, class: 'fr-alert__title') do
|
|
|
|
= "#{prefix_for_state}#{title}"
|
2022-08-17 11:15:56 +02:00
|
|
|
= body
|