Update RUG Template
This commit is contained in:
25
polyclinic_scheduling/templates/registration/login.html
Normal file
25
polyclinic_scheduling/templates/registration/login.html
Normal file
@ -0,0 +1,25 @@
|
||||
{% 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 go to the <a href="https://www.rug.nl/cope/projecten/het-anderhalve-meter-ziekenhuis/aanmelden">Signup page</a> {% 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 %}
|
Reference in New Issue
Block a user