Aucune description http://j1x-huginn.herokuapp.com

_messages.html.erb 351B

    <% if flash.keys.length > 0 %> <div class="flash"> <% flash.each do |name, msg| %> <div class="alert alert-<%= name == :notice ? "success" : "error" %>"> <a class="close" data-dismiss="alert">&#215;</a> <%= content_tag :div, msg, :id => "flash_#{name}" if msg.is_a?(String) %> </div> <% end %> </div> <% end %>