vidpush/app/views/application/_flashes.html.erb
2014-04-25 13:10:57 -04:00

13 lines
357 B
Plaintext

<div class="container">
<section>
<div id="flash">
<% flash.each do |key, value| -%>
<% if flash[:notice] %>
<div id="flash_<%= key %>" class="alert alert-success"><%= value %></div>
<% else %>
<div id="flash_<%= key %>" class="alert alert-danger"><%= value %></div>
<% end %>
<% end -%>
</div>
</section>
</div>