Replace native confirms with Ladill custom dialogs.
Deploy Ladill Link / deploy (push) Successful in 1m10s
Deploy Ladill Link / deploy (push) Successful in 1m10s
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</p>
|
||||
</div>
|
||||
@if ($link->is_managed_here)
|
||||
<form method="POST" action="{{ route('user.links.destroy', $link) }}" onsubmit="return confirm('Delete this link?')">
|
||||
<form method="POST" action="{{ route('user.links.destroy', $link) }}" data-confirm="Delete this link?" data-confirm-title="Delete this link?" data-confirm-label="Delete">
|
||||
@csrf @method('DELETE')
|
||||
<button type="submit" class="text-sm text-red-600 hover:text-red-700">Delete</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user