Sha256: bce90e80dbd82d615b0e3207566061c74fcc4208f5b5c2b31e809e75f29c3eeb
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
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, (params[:selected_ids] || []).include?(resource.id.to_s), class: 'rs' - index_fields.each do |field_data| td = field_value(resource, field_data) td ul.inline-list - if default_actions? 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
5 entries across 5 versions & 1 rubygems