Small fix to genFormField.
This commit is contained in:
parent
01253244f7
commit
4d115622d6
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ when defined(js):
|
||||||
tdiv(class=class({"has-error": hasError}, "form-group")):
|
tdiv(class=class({"has-error": hasError}, "form-group")):
|
||||||
label(class="form-label", `for`=name):
|
label(class="form-label", `for`=name):
|
||||||
text label
|
text label
|
||||||
input(class="form-input", `type`="text", name=name)
|
input(class="form-input", `type`=typ, name=name)
|
||||||
|
|
||||||
if not error.isNone:
|
if not error.isNone:
|
||||||
let e = error.get()
|
let e = error.get()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue