mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-24 07:09:31 +00:00
Fix issues with no errors showing
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
|
||||
<form method="post" action="{% url django.contrib.auth.views.login %}">
|
||||
<fieldset>
|
||||
{% include "formtools/formerror.html" %}
|
||||
{% include "formtools/formfield.html" with field=form.username %}
|
||||
{% include "formtools/formfield.html" with field=form.password %}
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
<form method='post' action=''>
|
||||
<fieldset>
|
||||
{% include "formtools/formerror.html" %}
|
||||
{% include "formtools/formfield.html" with field=form.old_password %}
|
||||
{% include "formtools/formfield.html" with field=form.new_password1 %}
|
||||
{% include "formtools/formfield.html" with field=form.new_password2 %}
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<p>Forgot your password? Enter your email in the form below and we'll send you instructions for creating a new one.</p>
|
||||
<form method='post' action=''>
|
||||
<fieldset>
|
||||
{% include "formtools/formerror.html" %}
|
||||
{% include "formtools/formfield.html" with field=form.email %}
|
||||
{% csrf_token %}
|
||||
<input type='submit' value="Reset password" class="btn primary"/>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
<form method='post' action=''>
|
||||
<fieldset>
|
||||
{% include "formtools/formerror.html" %}
|
||||
{% include "formtools/formfield.html" with field=form.username %}
|
||||
{% include "formtools/formfield.html" with field=form.email %}
|
||||
{% include "formtools/formfield.html" with field=form.password1 %}
|
||||
|
||||
Reference in New Issue
Block a user