Sha256: cd258a41599b7eae77bdbba6f2925edebfd782f7698329cd46017220fb7276fd

Contents?: true

Size: 574 Bytes

Versions: 3

Compression:

Stored size: 574 Bytes

Contents

table
  thead
    tr
      - attributes.each do |attr|
        th= resource_class.human_attribute_name(attr)
      th  
  tbody
    - collection.each do |resource|
      tr[resource]
        - attributes.each do |attr|
          td= resource.public_send(attr).to_s.truncate(20)
        td
          = link_to t('manage.actions.show'), [resource]
          |
          = link_to t('manage.actions.edit'), [:edit, resource]
          |
          = link_to t('manage.actions.destroy'), [resource], method: :delete, data: { confirm: t('manage.confirmations.Are you sure')}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
manage-1.1.1 app/views/manage/resource/_index.html.slim
manage-1.1.0 app/views/manage/resource/_index.html.slim
manage-1.0.0 app/views/manage/resource/_index.html.slim