ensl.org/app/views/application/_messages.html.erb

10 lines
238 B
Text
Raw Permalink Normal View History

<% [:notice, :success, :error, :warning, :alert].each do |type| %>
2014-04-06 14:14:03 +00:00
<% if flash.key?(type) %>
<div id="notification">
<div class="message <%= type %>">
<%= flash[type] %>
</div>
2014-04-06 14:14:03 +00:00
</div>
<% end %>
<% end %>