% flash_class = local_assigns[:message_class] flash_container_class = "FlashMessage--#{flash_class}" flash_message = local_assigns[:message] flash_detail = local_assigns[:detail] %>
<%= raw flash_message %>
<% if flash_detail %><%= raw flash_detail %>
<% end %>