Update app/Views/groups/index.php

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Sylvano
2026-01-30 02:10:49 +01:00
committed by GitHub
parent 25dcdab4b0
commit 8419f3b79e

View File

@@ -122,7 +122,8 @@ ob_start();
<?php endif; ?>
<form method="POST" action="/groups/<?= $group['id'] ?>/delete" class="inline" onsubmit="return confirm('Are you sure? Domains will be unassigned from this group.')">
<input type="hidden" name="csrf_token" value="<?= csrf_token() ?>">
<button type="submit" class="text-red-600 hover:text-red-800" title="Delete">
<button type="submit" class="text-red-600 hover:text-red-800" title="Delete"
aria-label="Delete group <?= htmlspecialchars($group['name']) ?>">
<i class="fas fa-trash"></i>
</button>
</form>