Sha256: 5a29b8d03913208eb355cec5bdf38be14e2a00980722173da452e88b4cf611f0

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 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'}} Kies uit bibliotheek

  = attachment_form.hidden_field :page_partable_id

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-0.6.12 app/views/spina/admin/page_partables/_attachment_form.html.haml
spina-0.6.11 app/views/spina/admin/page_partables/_attachment_form.html.haml