Sha256: 3ff15d455192fe4f134d348db7d3b4489095ac18d0e3443c417abcdebc0498f0
Contents?: true
Size: 606 Bytes
Versions: 73
Compression:
Stored size: 606 Bytes
Contents
<% unless flash.blank? %> <div class="container flash-message"> <div class="row"> <div class="col-md-12"> <% [[:notice, 'alert-success'],[:error, 'alert-danger'],[:alert, 'alert-info']].each do |type, flash_dom_class| %> <% if flash[type] %> <div class="alert <%= flash_dom_class %> ui-corner-all <%= type.to_s %>"> <a class="close" data-dismiss="alert" href="#">×</a> <%= sanitize(flash[type]) %> </div> <% flash.delete(type) %> <% end %> <% end %> </div> </div> </div> <% end %>
Version data entries
73 entries across 73 versions & 2 rubygems