Fix form post helper.

This commit is contained in:
Relintai 2022-04-30 14:10:58 +02:00
parent 649c8ce46e
commit 1d3dcaf806

View File

@ -2562,7 +2562,7 @@ HTMLBuilder *HTMLBuilder::form_get(const String &action, const String &cls, cons
HTMLBuilder *HTMLBuilder::form_post(const String &action, const String &cls, const String &id) {
HTMLTag *t = form_post();
t->fora(action);
t->action(action);
if (cls != "") {
t->cls(cls);