gramps/data/templates/registration/login.html
2013-01-04 23:09:12 +00:00

40 lines
897 B
HTML

{% extends "gramps-base.html" %}
{% block title %}Gramps Connect - login {% endblock %}
{% block heading %}Gramps - login {% endblock %}
{% 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 %}
<form method="post" action=".">{% csrf_token %}
<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>
{% if next %}
<input type="hidden" name="next" value="{{next}}" />
{% else %}
<input type="hidden" name="next" value="/" />
{% endif %}
<input type="submit" value="Login" />
</form>
{% endblock %}