Sha256: d4522bcb3bc403e7d9872ca0657451890be52ddf3e569fe14bcd7dae9dfdae1b

Contents?: true

Size: 1.5 KB

Versions: 7

Compression:

Stored size: 1.5 KB

Contents

<% if new %>
  <%= active_element.component.new_button(collection, float: 'end', class: 'mb-3') %>
<% end %>

<% if display_pagination %>
  <%=
    render partial: 'active_element/components/table/pagination',
           locals: { collection: collection, params: params, page_size: page_size, page_sizes: page_sizes }
  %>
<% end %>

<% if group %>
  <%= render partial: 'active_element/components/table/grouped_collection',
             locals: { component: component,
                       collection: collection,
                       fields: fields,
                       grouped_collection: component.grouped_collection,
                       grouping_field: group,
                       group_title: group_title,
                       show: show,
                       edit: edit,
                       destroy: destroy,
                       class_name: class_name,
                       style: style,
                       i18n: i18n,
                       row_class_mapper: row_class_mapper } %>
<% else %>
  <%= render partial: 'active_element/components/table/ungrouped_collection',
             locals: { component: component,
                       collection: collection,
                       fields: fields,
                       show: show,
                       edit: edit,
                       destroy: destroy,
                       class_name: class_name,
                       style: style,
                       i18n: i18n,
                       row_class_mapper: row_class_mapper } %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_element-0.0.10 app/views/active_element/components/table/collection.html.erb
active_element-0.0.9 app/views/active_element/components/table/collection.html.erb
active_element-0.0.8 app/views/active_element/components/table/collection.html.erb
active_element-0.0.7 app/views/active_element/components/table/collection.html.erb
active_element-0.0.6 app/views/active_element/components/table/collection.html.erb
active_element-0.0.5 app/views/active_element/components/table/collection.html.erb
active_element-0.0.4 app/views/active_element/components/table/collection.html.erb