about summary refs log tree commit diff stats
path: root/html/attributes.go
diff options
context:
space:
mode:
Diffstat (limited to 'html/attributes.go')
-rw-r--r--html/attributes.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/html/attributes.go b/html/attributes.go
index 5a3dc3a..7733457 100644
--- a/html/attributes.go
+++ b/html/attributes.go
@@ -217,3 +217,7 @@ func Value(v string) g.Node {
 func Width(v string) g.Node {
 	return g.Attr("width", v)
 }
+
+func EncType(v string) g.Node {
+	return g.Attr("enctype", v)
+}