Forg/app/views/shared/_flash_messages.html.erb

6 lines
112 B
Plaintext

<% flash.each do |type, message| %>
<aside class="flash <%= type %>">
<%= message %>
</aside>
<% end %>