Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
fixes error in display errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian /bdougie/ Douglas committed Dec 1, 2014
1 parent fc6670d commit 5b17126
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/layouts/_errors.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<% if flash[:notice] %>
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<%= flash[:notice] unless value.blank? %>
<%= flash[:notice] unless flash[:notice].blank? %>
</div>
<% elsif flash[:error] %>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<%= flash[:error] unless value.blank? %>
<%= flash[:error] unless flash[:error].blank? %>
</div>
<% elsif flash[:alert] %>
<div class="alert">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<%= flash[:alert] unless value.blank? %>
<%= flash[:alert] unless flash[:alert].blank? %>
</div>
<% end %>
</div>

0 comments on commit 5b17126

Please sign in to comment.