Skip to content

Commit

Permalink
Add links for address management to customer section component
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerdema committed Nov 3, 2023
1 parent 4e7004e commit 257855e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<%= page_with_sidebar_aside do %>
<%= render component('ui/panel').new(title: panel_title_with_more_links(t(".customer"), [
link_to("Edit order email", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
link_to("Edit shipping address", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
link_to("Edit billing address", "#", class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
link_to("Edit shipping address", solidus_admin.new_order_ship_address_path(@order), class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
link_to("Edit billing address", solidus_admin.new_order_bill_address_path(@order), class: "p-2 hover:bg-gray-25 rounded-sm text-black"),
link_to("Remove customer", "#", 'data-turbo-method': :delete, class: "p-2 hover:bg-gray-25 rounded-sm text-red-500"),
])) do %>
<div class="flex flex-col -m-6 p-6 gap-6 border-t border-gray-100 mt-0">
Expand Down

0 comments on commit 257855e

Please sign in to comment.