Skip to content

Commit

Permalink
Add back location picture views and form
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Feb 1, 2025
1 parent c359fb6 commit d2707c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/location_picture_xrefs/_add_picture.html.haml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/ %div[location, :add_picture]{:style => 'display:none;'}
%div[location, :add_picture]{:style => 'display:none;'}

:javascript
$(function() {
Expand Down
4 changes: 2 additions & 2 deletions app/views/locations/_render_location_detail.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2707c3

Please sign in to comment.