Sha256: ef341189c8ab8f723898067127a542f2d4b07bbedef85257b09984afda2c334e

Contents?: true

Size: 777 Bytes

Versions: 4

Compression:

Stored size: 777 Bytes

Contents

.table-container
  .search-input.pull-right
    = text_field_tag :search, nil, placeholder: t('spina.search'), class: 'input-search input-rounded'
    .clear-input
      = icon('times-circle')

  %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

4 entries across 4 versions & 1 rubygems

Version Path
spina-0.6.28 app/views/spina/admin/attachments/index.html.haml
spina-0.6.27 app/views/spina/admin/attachments/index.html.haml
spina-0.6.26 app/views/spina/admin/attachments/index.html.haml
spina-0.6.25 app/views/spina/admin/attachments/index.html.haml