diff --git a/app.py b/app.py index 9322e89..d815658 100644 --- a/app.py +++ b/app.py @@ -15,17 +15,36 @@ def home2(name): def success(name): return "welcome %s" % name +# this is a weird way to do this +# right? +def widg_fun(widg): + if(widg.w_type == "input"): + return "input id=id_%s name=%s type=text> +
{% for key, value in req_tab.items() %} - + {% endfor %} +
{{ key }}{{ value }}
{{ key }} + + {%if value.w_type != "choice" %} + <{{ widg_fun(value) }}> + {%elif value.w_type == "choice" %} + + {% endif %} +
+

+ +

A requested feature is to have to allow users to have a unicode username since unicode allows for more interesting aesthics
If you enter a unicode display name, the system will try to display your unicode name when possbile. It will also be your default in terminal prompt, chat and your tilde path