diff --git a/lib/Froxlor/UI/Callbacks/Text.php b/lib/Froxlor/UI/Callbacks/Text.php index 0656cc1c..eb85a376 100644 --- a/lib/Froxlor/UI/Callbacks/Text.php +++ b/lib/Froxlor/UI/Callbacks/Text.php @@ -101,6 +101,7 @@ class Text 'entry' => $attributes['fields']['id'], 'id' => 'akModal' . $attributes['fields']['id'], 'title' => 'API-key ' . ($attributes['fields']['loginname'] ?? $attributes['fields']['adminname']), + 'action' => 'apikeys', 'body' => $body ]; } diff --git a/templates/Froxlor/form/form.html.twig b/templates/Froxlor/form/form.html.twig index 627f7ce1..2311d393 100644 --- a/templates/Froxlor/form/form.html.twig +++ b/templates/Froxlor/form/form.html.twig @@ -1,11 +1,11 @@ -{% macro form(form_data, formaction, title = "", hiddenid = "", nosubmit = false) %} +{% macro form(form_data, formaction, title = "", hiddenid = "", nosubmit = false, idprefix = "") %} {% import "Froxlor/form/formfields.html.twig" as formfields %}