1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00
RPGnotes/templates/registration/login.html

28 lines
674 B
HTML

{% extends "base.html" %}
{% load django_bootstrap5 %}
{% load static %}
{% block mainpage %}
<h1>Login</h1>
{% if next %}
<div class="alert alert-info">
You need to log in before you can access
<code>{{ next }}</code>.
</div>
{% endif %}
<form method="post" class="form">
{% csrf_token %}
{% bootstrap_form form %}
{% url 'admin_password_reset' as password_reset_url %}
<div class="password-reset-link">
<a href="{% url 'password_reset' %}">Forgotten your password or username?</a>
</div>
<button type="submit" class="btn btn-lg btn-primary btn-block">
Sign in
</button>
</form>
{% endblock %}