Sha256: a992ba9e647022e0583b016dbc8891763b7f4170c313f2cc60a87fdc7cf2b237

Contents?: true

Size: 1 KB

Versions: 3

Compression:

Stored size: 1 KB

Contents

- collection_title
= collection_header

- if collection.present?
  - list = capture do
    /= render partial: 'objects', object: collection
    .table-list
      table.table.table-hover.table-sm.table--feedback
        tbody
          - collection.each do |object|
            tr
              td.table__details
                = object.name
                span title="#{resource_class.human_attribute_name(:email)}"= link_to object.email, "mailto:#{object.email}"
                span title="#{resource_class.human_attribute_name(:phone)}"= object.phone
              td.table__text
                = simple_format(object.message)
              td.table-list__controls
                = object_link_edit(object)
              td.table-list__check
                = admin_cb(object)

  - if controller.respond_to?(:batch_action)
    = batch_actions_tag publication: (collection.respond_to?(:set_each_published_on)),
      nav_publication: (collection.respond_to?(:set_nav_published_on)) do
      = list
  - else
    = list

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/feedback/auto/app/views/admin/feedbacks/index.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/feedback/auto/app/views/admin/feedbacks/index.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/feedback/auto/app/views/admin/feedbacks/index.slim