aboutsummaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
Diffstat (limited to 'templates/registration')
-rw-r--r--templates/registration/activation_complete.html4
-rw-r--r--templates/registration/registration_complete.html2
-rw-r--r--templates/registration/registration_form.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/registration/activation_complete.html b/templates/registration/activation_complete.html
index 11ca25e..d27622a 100644
--- a/templates/registration/activation_complete.html
+++ b/templates/registration/activation_complete.html
@@ -14,8 +14,8 @@
<h2>成功激活</h2>
<p class="lead">您已成功激活账户。</p>
- <br />
- <p><a href="#" class="btn btn-primary">登录</a></p>
+ <br>
+ <p><a href="{% url 'login' %}" class="btn btn-primary">登录</a></p>
</div>
{% endblock %}
diff --git a/templates/registration/registration_complete.html b/templates/registration/registration_complete.html
index 21cb13d..553a154 100644
--- a/templates/registration/registration_complete.html
+++ b/templates/registration/registration_complete.html
@@ -16,7 +16,7 @@
您已顺利完成注册。我们已向您注册使用的邮箱发送了激活邮件,请留意查收,并使用其中的链接激活账户。
</p>
- <br />
+ <br>
<p>
还未收到激活邮件?
<a href="#" class="btn btn-default">重新发送激活邮件</a>
diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html
index 9404d68..31316fe 100644
--- a/templates/registration/registration_form.html
+++ b/templates/registration/registration_form.html
@@ -12,12 +12,12 @@
{% block content %}
<div class="container">
<h2>注册账户</h2>
- <br />
+ <br>
<form role="form" class="form-horizontal" method="post">
{% csrf_token %}
{% bootstrap_form form layout='horizontal' %}
- {% buttons submit='提交' reset='取消' layout='horizontal' %}{% endbuttons %}
+ {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %}
</form>
</div>
{% endblock %}