app/views/spina/admin/attachments/index.html.haml in spina-0.7.3 vs app/views/spina/admin/attachments/index.html.haml in spina-0.8.0
- old
+ new
@@ -2,11 +2,11 @@
.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
+ %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)
@@ -15,6 +15,6 @@
%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
\ No newline at end of file
+ = render partial: 'spina/admin/attachments/attachment', collection: @attachments