mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-20 16:43:44 +02:00
34 lines
866 B
HTML
34 lines
866 B
HTML
{% extends "base.html" %}
|
|
{% load django_bootstrap5 %}
|
|
{% load static %}
|
|
|
|
{% block heading %}
|
|
<h1>Login</h1>
|
|
{% endblock %}
|
|
|
|
|
|
{#{% block containerclasses %}text-center{% endblock %}#}
|
|
{% block extra_head %}
|
|
{# <link rel="stylesheet" href="{% static "login.css" %}">#}
|
|
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% 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 %}
|