Sha256: fd77ac88a9b343b95392b06e05a749f019c91e958ccb6da6c07b7ed0b98bf775

Contents?: true

Size: 1.02 KB

Versions: 6

Compression:

Stored size: 1.02 KB

Contents

= render 'tabs'

= well_div do
  = table_for 'disposal-attachments-index' do
    thead
      tr
        = th t(:'attachment.name')
        = th t(:'attachment.description')
        = th t(:'attachment.asset_type')
        = th t(:'resource')
        = th t(:'attachment.file_name')
        = th t(:'attachment.file_type')
        = th t(:'attachment.file_size')
        = th_actions 2
    tbody
      - @attachments.each do |attachment|
        tr
          td = attachment.name
          td = attachment.description
          td = attachment.attachable_type
          td = attachment.attachable
          td = attachment.asset_file_name
          td = attachment.asset_content_type
          td = number_to_human_size attachment.asset_file_size
          td
            = link_to ("<i class='icon-white icon-repeat'></i>").html_safe, [:recovery, attachment], class: 'mr-xs btn btn-mini btn-warning recovery-link', remote: true
            = ajax_link_to_delete attachment , id: 'delete-disposal-attachment-link'


  = paginate @attachments

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/admin/disposals/attachments.html.slim
gaku-0.0.3 core/app/views/gaku/admin/disposals/attachments.html.slim
gaku-0.0.2 core/app/views/gaku/admin/disposals/attachments.html.slim
gaku_core-0.0.2 app/views/gaku/admin/disposals/attachments.html.slim
gaku-0.0.1 core/app/views/gaku/admin/disposals/attachments.html.slim
gaku_core-0.0.1 app/views/gaku/admin/disposals/attachments.html.slim