Sha256: bed47ab111a89c856495ca41b0456bcdc016c1af5614c236f9930f1d386502fe
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
= link_to spina.photo_select_admin_photos_path(f.object_name, selected_photo_id: f.object.structure_partable.try(:id)), remote: true, class: "media_picker" do .placeholder.pull-right %span.button.button-small.button-round{data: {icon: 'U'}}=t 'spina.pages.photo_picker' - if f.object.structure_partable && f.object.structure_partable.file.present? .image = image_tag f.object.structure_partable.file.thumb = f.hidden_field :structure_partable_id
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spina-0.10.0 | app/views/spina/admin/structure_partables/photos/_form.html.haml |