feat: add csrf input

This commit is contained in:
Simon Vieille 2025-07-20 15:21:46 +02:00
commit 287acfc4d2
Signed by: deblan
GPG key ID: 579388D585F70417

8
form/field_input_csrf.go Normal file
View file

@ -0,0 +1,8 @@
package form
func NewFieldCsrf(name string) *Field {
f := NewFieldHidden(name).
WithFixedName()
return f
}