git_sitools_idoc / webstatDev / idoc_Maison / templates / registration / login.html @ master
| 1 |
<head>
|
|---|---|
| 2 |
</head>
|
| 3 |
<body>
|
| 4 |
<h1>Se connecter</h1> |
| 5 |
|
| 6 |
{% if error %}
|
| 7 |
<p><strong>Utilisateur inconnu ou mauvais de mot de passe.</strong></p> |
| 8 |
{% endif %}
|
| 9 |
|
| 10 |
{% if user.is_authenticated %}
|
| 11 |
Vous ĂȘtes connectĂ©, {{ user.username }} !
|
| 12 |
{% else %}
|
| 13 |
<form method="post" action="{% url 'webstat:login' %}"> |
| 14 |
{% csrf_token %}
|
| 15 |
{{ form_log.as_p }}
|
| 16 |
<input type="submit" value="Se connecter" /> |
| 17 |
</form>
|
| 18 |
{% endif %}
|
| 19 |
</body>
|