Klassen und typen für Knöpfe hinzugefügt

This commit is contained in:
Technoir committed 2026-10-13 22:29:22 +02:00
1 parent b6ad218fdb
commit 377d888221
1 file changed
+4
@@ -36,8 +36,12 @@ export function createEditItemForm(currentName, currentAmount) {
inputAmount.classList.add("editForm__amount");
abortButton.setAttribute("type", "button");
abortButton.classList.add("editForm__buttonAbort");
abortButton.textContent = "Abbrechen";
saveButton.textContent = "Speichern";
saveButton.setAttribute("type", "submit");
editForm.append(inputName, inputAmount, saveButton, abortButton);