Skip to content

Commit

Permalink
update delete user alert
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 25, 2024
1 parent 93ca737 commit cb6c8f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/views/users/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
<x-tomato-admin-button warning type="icon" title="{{trans('tomato-admin::global.crud.edit')}}" modal :href="route('admin.users.edit', $item->id)">
<x-heroicon-s-pencil class="h-6 w-6"/>
</x-tomato-admin-button>
<x-tomato-admin-button danger type="icon" title="{{trans('tomato-admin::global.crud.delete')}}" :href="route('admin.users.destroy', $item->id)"
confirm="{{trans('tomato-admin::global.crud.delete-confirm')}}"
confirm-text="{{trans('tomato-admin::global.crud.delete-confirm-text')}}"
confirm-button="{{trans('tomato-admin::global.crud.delete-confirm-button')}}"
cancel-button="{{trans('tomato-admin::global.crud.delete-confirm-cancel-button')}}"
<x-tomato-admin-button danger confirm-danger type="icon" title="{{__('Delete User')}}" :href="route('admin.users.destroy', $item->id)"
confirm="{{__('Delete User!')}}"
confirm-text="{{__('Are you sure you want to delete this user?, this action cannot be undone.')}}"
confirm-button="{{__('Delete')}}"
cancel-button="{{__('Cancel')}}"
method="delete"
>
<x-heroicon-s-trash class="h-6 w-6"/>
Expand Down

0 comments on commit cb6c8f5

Please sign in to comment.