Sha256: 2891fe3cc0545c72b93b8c38fd7c3a0ebc3157e86f170ad9a2fb5e563353e991

Contents?: true

Size: 697 Bytes

Versions: 4

Compression:

Stored size: 697 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| %>
            <tr>
              <% tr.each do |td| %>
                <td><%= td[:searchable_text] if td.has_key? :searchable_text %></td>
              <% end %>
            </tr>
          <% end %>
        </tbody>
    </table>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
promethee-1.11.3 app/views/promethee/components/table/_show.html.erb
promethee-1.11.2 app/views/promethee/components/table/_show.html.erb
promethee-1.11.1 app/views/promethee/components/table/_show.html.erb
promethee-1.11.0 app/views/promethee/components/table/_show.html.erb