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

This commit is contained in:
isaacclad
2026-07-24 20:56:01 +00:00
parent 8cd0312045
commit f39468b4a3
9 changed files with 223 additions and 10 deletions
@@ -67,8 +67,7 @@
<button type="submit" class="btn-primary w-full">Save changes</button>
</form>
<form method="POST" action="{{ route('care.practitioners.destroy', $practitioner) }}" class="mt-4"
onsubmit="return confirm('Remove this practitioner from Care? Existing appointments keep their history.')">
<form method="POST" action="{{ route('care.practitioners.destroy', $practitioner) }}" class="mt-4" data-confirm="Remove this practitioner from Care? Existing appointments keep their history." data-confirm-title="Are you sure?" data-confirm-label="Remove">
@csrf
@method('DELETE')
<button type="submit" class="btn-secondary w-full text-rose-700">Remove practitioner</button>