app/views/spina/admin/media_picker/_image.html.haml in spina-2.0.0.alpha vs app/views/spina/admin/media_picker/_image.html.haml in spina-2.0.0.beta
- old
+ new
@@ -1,3 +1,3 @@
%label.media-picker-image{data: {target: "media-picker.image"}}
- = check_box_tag :image_id, image.id, image.id.in?(selected_ids), data: {action: "media-picker#choose", image_id: image.id, signed_blob_id: image.file.blob.signed_id, thumbnail_url: thumbnail_url(image), full_image_url: main_app.url_for(image.file), filename: image.file.filename}
+ = check_box_tag :image_id, image.id, image.id.in?(selected_ids), data: {action: "media-picker#choose", image_id: image.id, signed_blob_id: image.file.blob.signed_id, thumbnail_url: thumbnail_url(image), image_url: embedded_image_url(image), filename: image.file.filename}
%span= image_tag thumbnail_url(image)
\ No newline at end of file