aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-06-07 11:58:26 +0800
committerWeitian LI <liweitianux@gmail.com>2014-06-07 11:58:26 +0800
commitde48c33ec3cad602828d9406ffe2dd379cfa3c2e (patch)
treef5f8bad29d34d292370f54beb50bba71c7c263ca /templates
parent49c28ef12fb1ebf5221feeeb22f955f97508f7d4 (diff)
downloaddjango-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')
-rw-r--r--templates/registration/registration_form.html4
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">