regpage_tmpl
{% extends 'basepage.html' %} {% block title %}Hello, Flask 4 Registration{% endblock %} {% block content %} <div> <div>Create An Account</div> <form id="regform" method="post" onSubmit="return subchk()"> <div>Userid: <input type="text" name="userid" size="12" {% if userid is defined %}value="{{userid}}"{% endif %}> Human Name: <input type="text" name="username" size="30" {% if username is defined %}value="{{username}}"{% endif %}></div> <div>Password: <input type="password" name="pwd1" size="12"> Verify Password: <input type="password" name="pwd2" size="12"></div> <div><input type="submit" name="Create" value="Create"> <a href="{{ url_for('gen.count') }}"><button type="button">Cancel</button></a></div> </form></div> <script src="/static/regcheck.js"></script> {% endblock %}