main
<% alerts.each do |type, message| %> <%= render AlertComponent.new(type:, message: message.html_safe, class: 'margin-bottom-4') %> <% end %>