diff --git a/app/views/application/_flash_messages.html.erb b/app/views/application/_flash_messages.html.erb index 364e3e5ca..f31f37024 100644 --- a/app/views/application/_flash_messages.html.erb +++ b/app/views/application/_flash_messages.html.erb @@ -1,5 +1,6 @@ <% display = (flash[:notice] || flash[:alert] || flash[:warning]) ? 'block' : 'none' %>
+ <% type = (flash[:notice]) ? 'bg-success' : 'bg-danger' %> <% type = 'bg-warning' if flash[:warning] %>