Sha256: 9687bd4c0e8af4335dbf480e5a0f0facbe375e904b1f29d5677830be160606eb

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 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
            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

4 entries across 4 versions & 1 rubygems

Version Path
manage-1.3.25 app/views/manage/resource/index/_table.html.slim
manage-1.3.24 app/views/manage/resource/index/_table.html.slim
manage-1.3.20 app/views/manage/resource/index/_table.html.slim
manage-1.3.19 app/views/manage/resource/index/_table.html.slim