about summary refs log tree commit diff stats
path: root/html/elements.go
diff options
context:
space:
mode:
Diffstat (limited to 'html/elements.go')
-rw-r--r--html/elements.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/elements.go b/html/elements.go
index 32752ea..86cfbd4 100644
--- a/html/elements.go
+++ b/html/elements.go
@@ -124,7 +124,7 @@ func Form(children ...g.Node) g.Node {
 
 // Deprecated: Use [Form] instead.
 func FormEl(children ...g.Node) g.Node {
-	return g.El("form", children...)
+	return Form(children...)
 }
 
 func FieldSet(children ...g.Node) g.Node {
@@ -177,7 +177,7 @@ func Label(children ...g.Node) g.Node {
 
 // Deprecated: Use [Label] instead.
 func LabelEl(children ...g.Node) g.Node {
-	return g.El("label", children...)
+	return Label(children...)
 }
 
 func Legend(children ...g.Node) g.Node {