charasheet/src/common/templates/registration/login.html

14 lines
401 B
HTML

{% extends "common/base.html" %}
{% block content %}
<h1>Connexion</h1>
<form action="{% url "login" %}" method="post">
{{ form.as_p }}
{% csrf_token %}
<button type="submit" class="btn btn-primary">Submit</button>
<a href="{% url "django_registration_register" %}" class="btn btn-secondary">
Create account
</a>
</form>
{% endblock %}