2014-04-25 17:10:57 +00:00
|
|
|
<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>
|