Sha256: 42308fc2d448b5ffb5f81db2494682d3a5466e2f81796b1d516c28591a4c9c29
Contents?: true
Size: 770 Bytes
Versions: 7
Compression:
Stored size: 770 Bytes
Contents
<% if flash.count > 0 %> <div id="flashes" class="<%= container_class %>"> <% if Voltron.config.flash.group %> <% flash.each do |type,messages| %> <div class="flash <%= type %>"> <p class="flash-message"><%= Array.wrap(messages).join("<br />").html_safe %></p> <button class="flash-close" type="button" id="close-<%= type %>" data-dispatch="click"></button> </div> <% end %> <% else %> <% flash.each do |type,messages| %> <% Array.wrap(messages).each do |message| %> <div class="flash <%= type %>"> <p class="flash-message"><%= message.html_safe %></p> <button class="flash-close" type="button" id="close-<%= type %>" data-dispatch="click"></button> </div> <% end %> <% end %> <% end %> </div> <% end %> <% flash.clear %>
Version data entries
7 entries across 4 versions & 1 rubygems