Sha256: 8576c79df4bb3a3cf1bf407297a7f52bad1c16c5d7658adce7621b46950aab9a

Contents?: true

Size: 703 Bytes

Versions: 11

Compression:

Stored size: 703 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: 4}
          = form_with model: [:admin, Spina::Attachment.new], class: 'new_document', style: 'margin-bottom: 0' do |f|
            = f.submit style: 'display: none'
            = f.file_field :files, multiple: true, data: {direct_upload_url: main_app.rails_direct_uploads_url, customfileinput: true}

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spina-2.0.0.alpha app/views/spina/admin/attachments/index.html.haml
spina-1.2.0 app/views/spina/admin/attachments/index.html.haml
spina-1.1.4 app/views/spina/admin/attachments/index.html.haml
spina-1.1.3 app/views/spina/admin/attachments/index.html.haml
spina-1.1.2 app/views/spina/admin/attachments/index.html.haml
spina-1.1.1 app/views/spina/admin/attachments/index.html.haml
spina-1.1.0 app/views/spina/admin/attachments/index.html.haml
spina-1.0.3 app/views/spina/admin/attachments/index.html.haml
spina-1.0.2 app/views/spina/admin/attachments/index.html.haml
spina-1.0.1 app/views/spina/admin/attachments/index.html.haml
spina-1.0.0 app/views/spina/admin/attachments/index.html.haml