Replace native confirms with Ladill custom dialogs.
Deploy Ladill Link / deploy (push) Successful in 1m10s

This commit is contained in:
isaacclad
2026-07-24 20:56:05 +00:00
parent e1ec3d57d5
commit 0f4890cdfe
8 changed files with 216 additions and 54 deletions
+1 -1
View File
@@ -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>