Skip to content

Commit

Permalink
Fix edit buttons not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Apr 12, 2024
1 parent 92570aa commit 30b0f13
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/views/items/show_buried.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@
= render partial: "show_metadata_section"
= render partial: "show_collections_section"
= render partial: "show_properties_section"
= render partial: "show_events_section"
= render partial: "show_events_section"
= render partial: "shared/xhr_modal",
locals: { id: "edit-item-membership-modal",
title: "Edit Collection Membership",
size: :xl }
= render partial: "shared/xhr_modal",
locals: { id: "edit-item-metadata-modal",
title: "Edit Metadata",
size: :xl }
= render partial: "shared/xhr_modal",
locals: { id: "edit-item-properties-modal",
title: "Edit Properties" }
12 changes: 12 additions & 0 deletions app/views/items/show_rejected.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,15 @@
= render partial: "show_collections_section"
= render partial: "show_properties_section"
= render partial: "show_events_section"

= render partial: "shared/xhr_modal",
locals: { id: "edit-item-membership-modal",
title: "Edit Collection Membership",
size: :xl }
= render partial: "shared/xhr_modal",
locals: { id: "edit-item-metadata-modal",
title: "Edit Metadata",
size: :xl }
= render partial: "shared/xhr_modal",
locals: { id: "edit-item-properties-modal",
title: "Edit Properties" }

0 comments on commit 30b0f13

Please sign in to comment.