Move images and data directories. Also svn version code from r20919.
svn: r20990
This commit is contained in:
39
data/templates/registration/login.html
Normal file
39
data/templates/registration/login.html
Normal file
@@ -0,0 +1,39 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user