Sha256: eddd921dfdd4fbba20acfa7b56f169ce54244fdfe67d3d1224fb58603186b2cf
Contents?: true
Size: 689 Bytes
Versions: 23
Compression:
Stored size: 689 Bytes
Contents
= link_to spina.photo_select_admin_photos_path(photo_form.object_name, selected_photo_id: (photo_form.object.structure_partable.id if photo_form.object.structure_partable.present?)), remote: true, class: "media_picker" do - if photo_form.object.structure_partable && photo_form.object.structure_partable.file.present? .placeholder.pull-right %span.button.button-small.button-round{data: {icon: 'U'}}=t 'spina.pages.photo_picker' .image = image_tag photo_form.object.structure_partable.file.thumb - else .placeholder %span.button.button-small.button-round{data: {icon: 'U'}}=t 'spina.pages.photo_picker' = photo_form.hidden_field :structure_partable_id
Version data entries
23 entries across 23 versions & 1 rubygems