mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
28 lines
840 B
HTML
28 lines
840 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% load django_bootstrap5 %}
|
|
{% load static %}
|
|
|
|
|
|
|
|
{% block mainpage %}
|
|
<h1>{% translate "Login" %}</h1>
|
|
|
|
{% if next %}
|
|
<div class="alert alert-info">
|
|
{% blocktranslate %}You need to log in before you can access <code>{{ next }}</code>.{% endblocktranslate %}
|
|
</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' %}">{% translate "Forgotten your password or username?" %}</a>
|
|
</div>
|
|
<button type="submit" class="btn btn-lg btn-primary btn-block">
|
|
{% translate "Log in" %}
|
|
</button>
|
|
</form>
|
|
{% endblock %}
|