about summary refs log tree commit diff stats
path: root/components/elements.go
blob: f4e347d76ef2d4973345f82203a8d1b2ef960149 (plain)
1
2
3
4
5
6
7
8
9
10
package components

import (
	g "github.com/maragudk/gomponents"
	. "github.com/maragudk/gomponents/html"
)

func InputHidden(name, value string, children ...g.Node) g.Node {
	return Input(Type("hidden"), Name(name), Value(value), g.Group(children))
}