Sha256: 121e66549ca76f5212ad9024cb0cd2d0a2e83334d9731c9e61b2c0c04b08a190

Contents?: true

Size: 600 Bytes

Versions: 5

Compression:

Stored size: 600 Bytes

Contents

.table-container
  %table.table
    %thead
      %tr
        %th= Spina::Attachment.human_attribute_name(:name)
        %th= Spina::Attachment.human_attribute_name(:size)
        %th= Spina::Attachment.human_attribute_name(:created_at)
        %th
      %tr
        %td{colspan: 5}
          = form_for [spina, :admin, @attachment], html: {multipart: true, class: "new_document", style: 'margin-bottom: 0'} do |f|
            = f.file_field :file, data: {customfileinput: true}

    %tbody.table-prepend-document
      = render partial: 'spina/admin/attachments/attachment', collection: @attachments

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-0.12.0 app/views/spina/admin/attachments/index.html.haml
spina-0.11.1 app/views/spina/admin/attachments/index.html.haml
spina-0.11.0 app/views/spina/admin/attachments/index.html.haml
spina-0.10.0 app/views/spina/admin/attachments/index.html.haml
spina-0.9.0 app/views/spina/admin/attachments/index.html.haml