skill-assessment-app/app/views/shared/_generic_flash.html.erb
2016-08-24 12:15:12 -05:00

16 lines
378 B
Plaintext

<% if flash[:error].present? %>
<div class="error"><%= flash[:error] %></div>
<% end %>
<% if flash[:success].present? %>
<div class="success"><%= flash[:success] %></div>
<% end %>
<% if flash[:warning].present? %>
<div class="warning"><%= flash[:warning] %></div>
<% end %>
<% if flash[:notice].present? %>
<div class="notice"><%= flash[:notice] %></div>
<% end %>