Sha256: cf220b8ca75ece5dd3608b88880b56428276247bd24afb01c690b5673fd52963
Contents?: true
Size: 820 Bytes
Versions: 26
Compression:
Stored size: 820 Bytes
Contents
<div id="component-<%= component[:id] %>" class="<%= promethee_class_for(component) %>"> <div class="table-responsive"> <table class="table"> <thead> <tr> <% component[:attributes][:head].each do |th| %> <th><%= th[:searchable_text] if th.has_key? :searchable_text %></th> <% end %> </tr> </thead> <tbody> <% component[:attributes][:body].each do |tr| %> <% if tr.select { |td| td[:searchable_text]&.present? }.count == 0 %> <tr></tr> <% else %> <tr> <% tr.each do |td| %> <td><%= td[:searchable_text] if td.has_key? :searchable_text %></td> <% end %> </tr> <% end %> <% end %> </tbody> </table> </div> </div>
Version data entries
26 entries across 26 versions & 1 rubygems