Small fix to genFormField.

This commit is contained in:
Dominik Picheta 2018-05-11 16:17:41 +01:00
commit 4d115622d6

View file

@ -34,7 +34,7 @@ when defined(js):
tdiv(class=class({"has-error": hasError}, "form-group")):
label(class="form-label", `for`=name):
text label
input(class="form-input", `type`="text", name=name)
input(class="form-input", `type`=typ, name=name)
if not error.isNone:
let e = error.get()