ae31189b32
svn: r20989
40 lines
897 B
HTML
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 %}
|