euscanwww: Reset password
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
34d3bd714d
commit
11c8422c9b
@ -50,7 +50,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<li><a href="{% url "django.contrib.auth.views.logout" %}">Logout</a></li>
|
<li><a href="{% url "django.contrib.auth.views.logout" %}">Logout</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{% url "django.contrib.auth.views.login" %}?next={% url "accounts_index" %}">Login</a></li>
|
<li><a href="{% url "django.contrib.auth.views.login" %}?next={% url "accounts_index" %}">Login</a></li>
|
||||||
<li><a href="{% url "registration.views.register" %}">Register</a></li>
|
<li><a href="{% url "registration.views.register" %}">Register</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -12,17 +12,24 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ form.username.label_tag }}</td>
|
<th>{{ form.username.label_tag }}</th>
|
||||||
<td>{{ form.username }}</td>
|
<td>{{ form.username }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ form.password.label_tag }}</td>
|
<th>{{ form.password.label_tag }}</th>
|
||||||
<td>{{ form.password }}</td>
|
<td>{{ form.password }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>
|
||||||
|
<input type="submit" value="Login" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<input type="submit" value="login" />
|
|
||||||
<input type="hidden" name="next" value="/" />
|
<input type="hidden" name="next" value="/" />
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<a href="{% url "registration.views.register" %}">Register</a>
|
||||||
|
<a href="{% url "django.contrib.auth.views.password_reset" %}">Forgot password</a>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user