25 lines
		
	
	
		
			835 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			835 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% extends 'base.html' %} <!-- Add this for inheritance -->
 | 
						|
{% load i18n %}
 | 
						|
 | 
						|
{% block title %}{% trans "Login" %}{% endblock %}
 | 
						|
{% block pagetitle %}{% trans "Login" %}{% endblock %}
 | 
						|
{% block content %}
 | 
						|
<p>
 | 
						|
  <strong>{% trans "Login" %}</strong>
 | 
						|
  <br />
 | 
						|
  {% blocktrans %}You can login here to create your schedules. If you do not have a login, please contact: some_one@rug.nl{% endblocktrans %}
 | 
						|
</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>
 | 
						|
<br />
 | 
						|
{# Assumes you setup the password_reset view in your URLconf #}
 | 
						|
<p><a href="{% url 'password_reset' %}">{% trans "Lost password?" %}</a></p>
 | 
						|
{% endblock %} |