doc: update example form configuration
This commit is contained in:
parent
9d795cd58a
commit
fbb3c65802
1 changed files with 2 additions and 1 deletions
|
|
@ -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("/")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue