Sha256: 065109cebe22bf218580c5142fe86a5b51eb4fd0e77f0cf6303f1f8363ee767c
Contents?: true
Size: 415 Bytes
Versions: 2
Compression:
Stored size: 415 Bytes
Contents
= link_to select_admin_attachments_path(attachment_form.object_name), remote: true, class: "media_picker" do - if attachment_form.object.page_partable && attachment_form.object.page_partable.file.present? .attachment= attachment_form.object.page_partable.name - else .placeholder %span{data: {icon: 't'}} = t('spina.choose_from_library') = attachment_form.hidden_field :page_partable_id
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.14 | app/views/spina/admin/page_partables/_attachment_form.html.haml |
spina-0.6.13 | app/views/spina/admin/page_partables/_attachment_form.html.haml |