app/views/spina/admin/attachments/index.html.haml in spina-0.6.12 vs app/views/spina/admin/attachments/index.html.haml in spina-0.6.13
- old
+ new
@@ -1,15 +1,15 @@
.table-container
.search-input.pull-right
- = text_field_tag :search, nil, placeholder: "Zoeken...", class: 'input-search input-rounded'
+ = 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 Bestandsnaam
- %th Grootte
- %th Aangemaakt op
+ %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}
\ No newline at end of file