Add EncType html attribute (#109)
This commit is contained in:
parent
f387a71230
commit
32ad318ce8
@ -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)
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ func TestSimpleAttributes(t *testing.T) {
|
||||
"class": Class,
|
||||
"cols": Cols,
|
||||
"content": Content,
|
||||
"enctype": EncType,
|
||||
"for": For,
|
||||
"form": FormAttr,
|
||||
"height": Height,
|
||||
|
Loading…
Reference in New Issue
Block a user