Sha256: a88f6a1ed3a1b3e5ef676c1b307d7b7062aa51aa6437c64684f9e366d9ee7ab7
Contents?: true
Size: 458 Bytes
Versions: 133
Compression:
Stored size: 458 Bytes
Contents
<% items_per_line = component[:attributes][:items_per_line] size = (12.0/items_per_line.to_f).floor %> <div class="row <%= promethee_class_for component %>"> <% component[:children].each.with_index do |child, n| %> <div class="col-md-<%= size %>"> <%= render 'promethee/show/component', component: child %> </div> <% if n%items_per_line === items_per_line - 1 %> <div class="clearfix"></div> <% end %> <% end %> </div>
Version data entries
133 entries across 133 versions & 1 rubygems