Remove spurious {% antispam_fields %} tag from auth templates
This commit is contained in:
parent
758c21e124
commit
c850a99200
@ -14,7 +14,6 @@
|
|||||||
{% bootstrap_messages %}
|
{% bootstrap_messages %}
|
||||||
<form action="{% url 'auth_login' %}?next={{next}}" method="post">
|
<form action="{% url 'auth_login' %}?next={{next}}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% antispam_fields %}
|
|
||||||
{{form|crispy}}
|
{{form|crispy}}
|
||||||
<p><a href="{% url 'auth_password_reset' %}">{% trans "Lost password?" %}</a></p>
|
<p><a href="{% url 'auth_password_reset' %}">{% trans "Lost password?" %}</a></p>
|
||||||
<input class="btn btn-success pull-right" type="submit" name="submit" value="{% trans 'Login' %}"/>
|
<input class="btn btn-success pull-right" type="submit" name="submit" value="{% trans 'Login' %}"/>
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
{% bootstrap_messages %}
|
{% bootstrap_messages %}
|
||||||
<form action="{% url 'registration_register' %}" method="post">
|
<form action="{% url 'registration_register' %}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{% antispam_fields %}
|
|
||||||
{{ form|crispy }}
|
{{ form|crispy }}
|
||||||
<input class="btn btn-success pull-right" type="submit" name="su/bmit" value="{% trans 'Register'%}"/>
|
<input class="btn btn-success pull-right" type="submit" name="su/bmit" value="{% trans 'Register'%}"/>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user