Sha256: 4e38264a587f56b15d26b41820a2035489f537e730f004cae7021dae5ec38eda

Contents?: true

Size: 756 Bytes

Versions: 7

Compression:

Stored size: 756 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 
      %tr
        %td{colspan: 4}
          = 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

7 entries across 7 versions & 1 rubygems

Version Path
spina-0.6.19 app/views/spina/admin/attachments/index.html.haml
spina-0.6.18 app/views/spina/admin/attachments/index.html.haml
spina-0.6.17 app/views/spina/admin/attachments/index.html.haml
spina-0.6.16 app/views/spina/admin/attachments/index.html.haml
spina-0.6.15 app/views/spina/admin/attachments/index.html.haml
spina-0.6.14 app/views/spina/admin/attachments/index.html.haml
spina-0.6.13 app/views/spina/admin/attachments/index.html.haml