2009-11-10 10:58:35 +05:30
|
|
|
{% extends "gramps-base.html" %}
|
|
|
|
|
2009-11-19 23:02:11 +05:30
|
|
|
{% block title %}Gramps Connect - login {% endblock %}
|
|
|
|
{% block heading %}Gramps - login {% endblock %}
|
2009-11-10 10:58:35 +05:30
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>User Login</h2>
|
|
|
|
{% if form.errors %}
|
|
|
|
<p id="description">Your username or password were not valid. Please try again.</p>
|
|
|
|
{% else %}
|
|
|
|
<p id="description">Enter your login ID and password below. </p>
|
|
|
|
{% endif %}
|
2010-08-18 08:06:26 +05:30
|
|
|
<form method="post" action=".">{% csrf_token %}
|
2009-11-10 10:58:35 +05:30
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<label for="id_username">Username: </label>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{form.username}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<label for="id_password">Password: </label>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{form.password}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2010-01-01 20:46:20 +05:30
|
|
|
{% if next %}
|
|
|
|
<input type="hidden" name="next" value="{{next}}" />
|
|
|
|
{% else %}
|
2009-11-10 10:58:35 +05:30
|
|
|
<input type="hidden" name="next" value="/" />
|
2010-01-01 20:46:20 +05:30
|
|
|
{% endif %}
|
2009-11-10 10:58:35 +05:30
|
|
|
<input type="submit" value="Login" />
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|