diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-06-07 11:58:26 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-06-07 11:58:26 +0800 |
commit | de48c33ec3cad602828d9406ffe2dd379cfa3c2e (patch) | |
tree | f5f8bad29d34d292370f54beb50bba71c7c263ca /templates/registration | |
parent | 49c28ef12fb1ebf5221feeeb22f955f97508f7d4 (diff) | |
download | django-skaschool-de48c33ec3cad602828d9406ffe2dd379cfa3c2e.tar.bz2 |
Validate username field on registration
* validate username with regex on registration (bootstrap3 frontent does
not handle regex correctly. XXX) -> account/forms.py
* small update to registration page title display style
Diffstat (limited to 'templates/registration')
-rw-r--r-- | templates/registration/registration_form.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index 61de0ff..1bf7642 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -9,7 +9,9 @@ {% block content %} <div class="container"> - <h2>注册账户</h2> + <div class="col-md-offset-2"> + <h2>注册账户</h2> + </div> <br> <form role="form" class="form-horizontal" method="post"> |