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

35 lines
866 B
HTML
Raw Normal View History

2020-06-01 11:03:21 +02:00
{% extends "base.html" %}
2021-05-01 21:28:15 +02:00
{% load django_bootstrap5 %}
2020-06-01 11:03:21 +02:00
{% load static %}
2020-06-13 22:36:46 +02:00
{% block heading %}
<h1>Login</h1>
2020-06-01 11:03:21 +02:00
{% endblock %}
2020-06-13 22:36:46 +02:00
{#{% block containerclasses %}text-center{% endblock %}#}
{% block extra_head %}
{# <link rel="stylesheet" href="{% static "login.css" %}">#}
2020-06-01 11:03:21 +02:00
2020-06-13 22:36:46 +02:00
{% endblock %}
{% block content %}
{% if next %}
<div class="alert alert-info">
You need to log in before you can access
<code>{{ next }}</code>.
</div>
{% endif %}
2020-06-01 11:03:21 +02:00
2020-10-09 16:35:33 +02:00
<form method="post" class="form">
2020-06-13 22:36:46 +02:00
{% 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>
2021-03-08 20:23:43 +01:00
<button type="submit" class="btn btn-lg btn-primary btn-block">
Sign in
</button>
2020-06-13 22:36:46 +02:00
</form>
2020-06-01 11:03:21 +02:00
{% endblock %}