2020-05-13 15:54:40 +02:00
|
|
|
{% extends 'base.html' %} <!-- Add this for inheritance -->
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block title %}{% trans "Login" %}{% endblock %}
|
|
|
|
{% block pagetitle %}{% trans "Login" %}{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<p>
|
2020-05-14 15:20:19 +02:00
|
|
|
<strong>{% trans "Login" %}</strong>
|
|
|
|
<br />
|
2020-05-15 10:31:22 +02:00
|
|
|
{% blocktrans %}You can login here to create your schedules. If you do not have a login, please contact: some_one@rug.nl{% endblocktrans %}
|
2020-05-13 15:54:40 +02:00
|
|
|
</p>
|
|
|
|
<form method="post" action="{% url 'login' %}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="next" value="{{ next }}">
|
|
|
|
<table>
|
|
|
|
{{ form.as_table }}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><input type="submit" value="{% trans "Login" %}"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
2020-05-14 15:20:19 +02:00
|
|
|
<br />
|
2020-05-13 15:54:40 +02:00
|
|
|
{# Assumes you setup the password_reset view in your URLconf #}
|
|
|
|
<p><a href="{% url 'password_reset' %}">{% trans "Lost password?" %}</a></p>
|
|
|
|
{% endblock %}
|