doc: update example form configuration

This commit is contained in:
Simon Vieille 2025-07-20 15:57:49 +02:00
commit fbb3c65802
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -1,6 +1,7 @@
package example
import (
"net/http"
"time"
"github.com/spf13/cast"
@ -234,6 +235,6 @@ func CreateDataForm() *form.Form {
"class": "row",
}),
).
WithMethod("POST").
WithMethod(http.MethodPost).
WithAction("/")
}