Sha256: 2aeee76546b839ae918661c81450d62cca752cb871ba3264833f68dd3abe39c6
Contents?: true
Size: 833 Bytes
Versions: 15
Compression:
Stored size: 833 Bytes
Contents
%td = attachment_collection_form.object.title %td = attachment_collection_form.hidden_field :id = attachment_collection_form.hidden_field :title = attachment_collection_form.hidden_field :page_partable_type = attachment_collection_form.hidden_field :name = 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'}} = t('spina.choose_from_library') = form.hidden_field :attachment_tokens, value: form.object.attachment_ids.join(",")
Version data entries
15 entries across 15 versions & 1 rubygems