Skip to content

Commit

Permalink
fixed issue bagisto#8652
Browse files Browse the repository at this point in the history
  • Loading branch information
shivendra-webkul committed Oct 12, 2023
1 parent 932fb0d commit f40fe70
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,26 @@ class="block w-max m-0 ml-[0px] mx-auto p-[5px] rounded-[10px] bg-navyBlue text-
<x-slot:menu>
<x-shop::dropdown.menu.item>
<a href="{{ route('shop.customers.account.addresses.edit', $address->id) }}">
@lang('shop::app.customers.account.addresses.edit')
<p class="w-full">
@lang('shop::app.customers.account.addresses.edit')
</p>
</a>
</x-shop::dropdown.menu.item>

<x-shop::dropdown.menu.item>
<x-shop::form
:action="route('shop.customers.account.addresses.delete', $address->id)"
method="DELETE"
id="addressDelete"
>
<button>
@lang('shop::app.customers.account.addresses.delete')
</button>
<a
onclick="event.preventDefault(); document.getElementById('addressDelete').submit();"
href="{{ route('shop.customers.account.addresses.delete', $address->id) }}"
>
<p class="w-full">
@lang('shop::app.customers.account.addresses.delete')
</p>
</a>
</x-shop::form>
</x-shop::dropdown.menu.item>

Expand Down

0 comments on commit f40fe70

Please sign in to comment.