tickets: Better explain which login to use.
[matthijs/projects/dorestad-bookings.git] / tickets / templates / tickets / login.html
1 {% extends "tickets/base.html" %}
2 {% load i18n %}
3
4 {% block content %}
5 {% if form.errors %}
6 <p>{% trans "Your username and password didn't match. Please try again." %}</p>
7 {% endif %}
8
9 {% if user.is_authenticated %}
10         <p>{% blocktrans with user.username as username %}You are currently logged in as {{ username }}{% endblocktrans %}</p>
11         <p><a href="{% url logout %}">{% trans "Logout" %}</a></p>
12 {% endif %}
13
14 <p>
15 {% blocktrans with "http://www.evolution-events.nl" as ee_url and "http://www.evolution-events.nl/forum" as forum_url and "http://www.evolution-events.nl/forum/phpbb/profile.php?mode=register" as register_url %}
16 You can login with your <a href="{{ ee_url }} ">Evolution Events</a>
17 <a href="{{ forum_url }}">forum</a> account. If you don't have a forum
18 account yet, first <a href="{{ register_url }}">register</a>.
19 {% endblocktrans %}
20 </p>
21 <p>
22 <b>Note that this is the login of the regular forums, not the dorestad forum!</b>
23 </p>
24 <form method="post" action=".">
25 {% csrf_token %}
26 <table>
27 <tr><td><label for="id_username">{% trans "Username" %}</label></td><td>{{ form.username }}</td></tr>
28 <tr><td><label for="id_password">{% trans "Password" %}</label></td><td>{{ form.password }}</td></tr>
29 </table>
30
31 <input type="submit" value="{% trans "Login" %}" />
32 <input type="hidden" name="next" value="{{ next }}" />
33
34 </form>
35
36 {% endblock %}