app/views/spina/admin/structure_partables/photos/_form.html.haml in spina-0.10.0 vs app/views/spina/admin/structure_partables/photos/_form.html.haml in spina-0.11.0
- old
+ new
@@ -1,6 +1,6 @@
= 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
+ .placeholder
%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