bootcamp/app/views/layouts/_flash.html.erb

12 lines
242 B

<% if flash[:notice] %>
<div class="flash notice">
<%= flash[:notice] %>
</div>
<% end %>
<% if flash[:alert] %>
<div class="flash alert">
<%= flash[:alert] %>
</div>
<% end %>