Sha256: 601815f9ffdb02290a758bd0e9360fec1a6f43f495ff7ed99e4577a5fe3cf9a1
Contents?: true
Size: 400 Bytes
Versions: 13
Compression:
Stored size: 400 Bytes
Contents
<%# Rails flash messages styled for Bootstrap 4.0 %> <% flash.each do |name, msg| %> <% if msg.is_a?(String) %> <div class="alert alert-<%= name.to_s == 'notice' ? 'success' : 'danger' %>" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <%= content_tag :div, msg, :id => "flash_#{name}" %> </div> <% end %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems