Sha256: d039c05f9d15d3f43618cb7a4cf6db9557cddf3f05f79f0ffd15b2068801d5d8

Contents?: true

Size: 767 Bytes

Versions: 5

Compression:

Stored size: 767 Bytes

Contents

.table-container
  .search-input.pull-right
    = text_field_tag :search, nil, placeholder: t('spina.search'), class: 'input-search input-rounded'
    .clear-input{data: {icon: 'm'}}

  %table.table.datatable
    %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{colspan: 2}
      %tr
        %td{colspan: 5}
          = form_for [spina, :admin, @attachment], html: {multipart: true, class: "new_document"} 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.6.24 app/views/spina/admin/attachments/index.html.haml
spina-0.6.23 app/views/spina/admin/attachments/index.html.haml
spina-0.6.22 app/views/spina/admin/attachments/index.html.haml
spina-0.6.21 app/views/spina/admin/attachments/index.html.haml
spina-0.6.20 app/views/spina/admin/attachments/index.html.haml