source: mauRepo/dj_security/trunk/dj_security/templates/registration/login.html @ 8650

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/dj_security/templates/registration/login.html@8650
Revision 8650, 867 bytes checked in by mnagni, 7 years ago (diff)

Share project "dj_security" into " http://proj.badc.rl.ac.uk/svn/ndg/mauRepo"

  • Property svn:mime-type set to text/plain
Line 
1{% extends "registration/base.html" %}
2
3{% block title %}Log in{% endblock %}
4
5{% block content %}
6
7<h1>Log in</h1>
8
9{% if form.errors %}
10<p class="error">Please correct the errors below:</p>
11{% endif %}
12
13<form method="post" action="?next={{ next|default:"/" }}">{% csrf_token %}
14<dl>
15<dt><label for="id_username">Username:</label>{% if form.username.errors %} <span class="error">{{ form.username.errors|join:", " }}</span>{% endif %}</dt>
16<dd>{{ form.username }}</dd>
17<dt><label for="id_password">Password:</label>{% if form.password.errors %} <span class="error">{{ form.password.errors|join:", " }}</span>{% endif %}</dt>
18<dd>{{ form.password }}</dd>
19<dt><input type="submit" value="Log in" /></dt>
20</dl>
21</form>
22{% endblock %}
23
24{% block content-related %}
25<p>If you don't have an account, you can <a href="/accounts/register/">sign
26up</a> for one.
27{% endblock %}
Note: See TracBrowser for help on using the repository browser.