2023-09-16 10:48:47 +02:00

16 lines
365 B
HTML

{% extends 'base.html' %}
{% block title %}login{% endblock %}
{% block content %}
{% if not user.is_authenticated %}
<h2>log in</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">log in</button>
</form>
{% else %}
you're already log in !
{% endif %}
{% endblock %}