This commit is contained in:
NOrtmann1
2026-06-10 17:49:33 +02:00
parent ac2451fe64
commit a5e1fb4c38
+3 -1
View File
@@ -158,7 +158,9 @@ $isEditMode = (isset($_GET["edit"]) && $_GET["edit"] === "1") || !empty($error);
<form action="php/controller/deleteArticle-controller.php" method="POST">
<input type="hidden" name="id" value="<?php echo htmlspecialchars($userArticle->getID()); ?>">
<button type="submit" onclick="return confirm('Möchtest du diesen Artikel wirklich löschen?');">
<button type="submit"
class="button"
onclick="return confirm('Möchtest du diesen Artikel wirklich löschen?');">
Löschen
</button>
</form>