diff --git a/files/app/views/layouts/_messages-bootstrap.html.erb b/files/app/views/layouts/_messages-bootstrap.html.erb index 060b04b..c96efc9 100644 --- a/files/app/views/layouts/_messages-bootstrap.html.erb +++ b/files/app/views/layouts/_messages-bootstrap.html.erb @@ -1,6 +1,6 @@ <% flash.each do |name, msg| %> <% if msg.is_a?(String) %> - <div class="alert alert-<%= name == :notice ? "success" : "error" %>"> + <div class="alert alert-dismissible alert-<%= name == :notice ? "success" : "error" %>"> <a class="close" data-dismiss="alert">×</a> <%= content_tag :div, msg, :id => "flash_#{name}" %> </div>