Sha256: 214b72af27b56af9bab1e2fff5e37f6318d6b5597985d8c2450d1660a3eae545
Contents?: true
Size: 978 Bytes
Versions: 3
Compression:
Stored size: 978 Bytes
Contents
table thead tr - if collection_actions(collection) th = check_box_tag 'select_all', '1', false, class: 'check_all' - index_fields.each do |field_data| th = field_title(resource_class, field_data) th = t('.actions') tbody - collection.each do |resource| tr - if collection_actions(collection) td = check_box_tag "selected_ids[]", resource.id, false, class: 'rs' - index_fields.each do |field_data| td = field_value(resource, field_data) td ul.inline-list li = link_to t('manage.actions.show'), [resource] li = link_to t('manage.actions.edit'), [:edit, resource] li = link_to t('manage.actions.destroy'), [resource], method: :delete, data: { confirm: t('manage.confirmations.Are you sure')} - list_action_links.each do |link_data| li = action_link(resource, link_data) = resource_actions(resource)
Version data entries
3 entries across 3 versions & 1 rubygems