diff options
Diffstat (limited to 'xhtml.cr')
-rw-r--r-- | xhtml.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xhtml.cr b/xhtml.cr index 2dc8aea..4fd58eb 100644 --- a/xhtml.cr +++ b/xhtml.cr @@ -58,7 +58,7 @@ def form(xml, errors = {} of String => String, params = {} of String => String) # FIXME: get URL from configuration xml.element "form", action: "http://127.0.0.1:8080", method: "POST" do - input xml, "nick", "Nickname", "digits and ASCII lowercase letters", + input xml, "nick", "Nickname", "digits and lowercase letters", errors.fetch("nick", nil), params.fetch("nick", nil) input xml, "opennic", "OpenNIC URL", "e.g. http://example.null", errors.fetch("opennic", nil), params.fetch("opennic", nil) |