From d2707c36b86086c39fba0d9a5f604cf3f04bb3ca Mon Sep 17 00:00:00 2001 From: RyanTG Date: Fri, 31 Jan 2025 16:44:01 -0800 Subject: [PATCH] Add back location picture views and form --- app/views/location_picture_xrefs/_add_picture.html.haml | 2 +- app/views/locations/_render_location_detail.html.haml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/location_picture_xrefs/_add_picture.html.haml b/app/views/location_picture_xrefs/_add_picture.html.haml index 0feef925..3ae77a2f 100644 --- a/app/views/location_picture_xrefs/_add_picture.html.haml +++ b/app/views/location_picture_xrefs/_add_picture.html.haml @@ -1,4 +1,4 @@ -/ %div[location, :add_picture]{:style => 'display:none;'} +%div[location, :add_picture]{:style => 'display:none;'} :javascript $(function() { diff --git a/app/views/locations/_render_location_detail.html.haml b/app/views/locations/_render_location_detail.html.haml index 51578908..e346d8d1 100644 --- a/app/views/locations/_render_location_detail.html.haml +++ b/app/views/locations/_render_location_detail.html.haml @@ -28,8 +28,8 @@ Location Permalink %div.m_10[l, :metadata] = render :partial => 'locations/render_update_metadata', :locals => {:l => l} -/ %div.location_thumbs[l, :thumbs] -/ = render :partial => 'location_picture_xrefs/show_thumbs', :locals => {:location_picture_xrefs => l.location_picture_xrefs} +%div.location_thumbs[l, :thumbs] + = render :partial => 'location_picture_xrefs/show_thumbs', :locals => {:location_picture_xrefs => l.location_picture_xrefs} %div.quick_buttons - icon_path3 = image_tag('icons/plus.svg', :alt => 'Add Machine Icon', :class => 'banner_icon') %div.quick_button_sub_container