Sha256: f0a2efc835ace47d6fdadc857b67034c39dd6ab2efcfa35c34f3293c39c6c1ff
Contents?: true
Size: 645 Bytes
Versions: 3
Compression:
Stored size: 645 Bytes
Contents
<%# Local variables: * grid - instance of Datagrid * assets - Array of database Entities * options - passed options Hash %> <% if grid.html_columns(*options[:columns]).any? %> <%= tag.table class: 'datagrid-table', **options.fetch(:html, {}) do %> <thead> <%= datagrid_header(grid, **options) %> </thead> <tbody> <% if assets.any? %> <%= datagrid_rows(grid, assets, **options) %> <% else %> <tr><td class="datagrid-no-results" colspan="100%"><%= I18n.t('datagrid.no_results') %></td></tr> <% end %> </tbody> <% end %> <% else -%> <%= I18n.t("datagrid.table.no_columns") %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
datagrid-2.0.1 | app/views/datagrid/_table.html.erb |
datagrid-2.0.0 | app/views/datagrid/_table.html.erb |
datagrid-2.0.0.pre.alpha | app/views/datagrid/_table.html.erb |