Sha256: 92e08ea95a71d78039678b87f513cce2bf316d1fd3966b452127bca87822064b

Contents?: true

Size: 469 Bytes

Versions: 14

Compression:

Stored size: 469 Bytes

Contents

<%#
Local variables:
* grid - instance of Datagrid
* assets - Array of database Entities
* options - passed options Hash
%>
<%= content_tag :table, options[:html] do %>
  <thead>
    <%= datagrid_header(grid, options) %>
  </thead>
  <tbody>
    <% if assets.empty? %>
    <tr><td class="noresults" colspan="100%"><%= I18n.t('datagrid.no_results').html_safe %></td></tr>
    <% else %>
    <%= datagrid_rows(grid, assets, options) %>
    <% end %>
  </tbody>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
datagrid-1.3.0 app/views/datagrid/_table.html.erb
datagrid-1.2.3 app/views/datagrid/_table.html.erb
datagrid-1.2.2 app/views/datagrid/_table.html.erb
datagrid-1.2.1 app/views/datagrid/_table.html.erb
datagrid-1.2.0 app/views/datagrid/_table.html.erb
datagrid-1.1.2 app/views/datagrid/_table.html.erb
datagrid-1.1.1 app/views/datagrid/_table.html.erb
datagrid-1.1.0 app/views/datagrid/_table.html.erb
datagrid-1.0.5 app/views/datagrid/_table.html.erb
datagrid-1.0.4 app/views/datagrid/_table.html.erb
datagrid-1.0.3 app/views/datagrid/_table.html.erb
datagrid-1.0.2 app/views/datagrid/_table.html.erb
datagrid-1.0.1 app/views/datagrid/_table.html.erb
datagrid-1.0.0 app/views/datagrid/_table.html.erb