2012-06-27 23:28:35 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="main-login-container">
|
|
|
|
<div id="main-login" class="login_block">
|
|
|
|
<div id="header">
|
|
|
|
<h1>{{ site.name }} – Connexion</h1>
|
|
|
|
</div>
|
|
|
|
{% if form.errors %}
|
|
|
|
<p class="error">Identifiants incorrects.</p>
|
|
|
|
{% endif %}
|
|
|
|
|
2013-09-05 22:22:47 +02:00
|
|
|
<form method="post" action="{% url 'gestioncof.views.login_ext' %}">
|
2012-06-27 23:28:35 +02:00
|
|
|
{% csrf_token %}
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>{{ form.username.label_tag }}</td>
|
|
|
|
<td>{{ form.username }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>{{ form.password.label_tag }}</td>
|
|
|
|
<td>{{ form.password }}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<input type="submit" name="submit" class="btn-submit" value="SE CONNECTER" />
|
|
|
|
<input type="hidden" name="next" value="{{ next }}" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|