Project

General

Profile

Download (832 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / templates / registration / login.html @ d17efc19

1
{% extends "calebasse/base.html" %}
2
{% load url from future %}
3

    
4
    <title>{% block title %}APS42{% endblock %}</title>
5

    
6
{% block wrapper %}
7
<div id="wrap">
8
{% endblock %}
9

    
10
{% block user-links %}
11
{% endblock %}
12

    
13
{% block content %}
14

    
15
<p>
16
  Bienvenue sur le logiciel de gestion de l'Association Prévention
17
  Soins.
18
</p>
19

    
20
<h2>Connexion</h2>
21

    
22
{% if form.errors %}
23
<p>Mot de passe incorrect. Essayez encore.</p>
24
{% endif %}
25

    
26
<form method="post" id="login-form" action="{% url 'django.contrib.auth.views.login' %}">
27
{% csrf_token %}
28

    
29
<p>
30
  <label for="id_username">Identifiant</label>
31
  {{ form.username }}
32
</p>
33
<p>
34
  <label for="id_password">Mot de passe</label>
35
  {{ form.password }}
36
</p>
37

    
38
<input type="submit" value="Se connecter" class="submit login" />
39
<input type="hidden" name="next" value="{{ next }}" />
40
</form>
41

    
42
{% endblock %}
(1-1/3)