Sha256: a78a699fb606858b9b6bfe535d4e8eef33f84574a1bc64eae89d8c020259999a
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 Bytes
Contents
= attachment_collection_form.fields_for :page_partable, attachment_collection_form.object.page_partable do |form| = link_to select_collection_admin_attachments_path(form.object_name), remote: true, class: "media_picker" do - if form.object.attachments.any? - form.object.attachments.each do |attachment| .attachment= attachment.name - else .placeholder %span{data: {icon: 't'}} Kies uit bibliotheek = form.hidden_field :attachment_tokens, value: form.object.attachment_ids.join(",")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.12 | app/views/spina/admin/page_partables/_attachment_collection_form.html.haml |
spina-0.6.11 | app/views/spina/admin/page_partables/_attachment_collection_form.html.haml |