Improve login screen #17

Merged
thisfro merged 3 commits from dev into main 2023-09-15 11:43:42 +02:00

View file

@ -1,6 +1,9 @@
{% extends "base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% block title %}
Login
{% endblock title %}
{% block content %}
{% if next %}
{% if user.is_authenticated %}
@ -21,4 +24,9 @@
<p>
<a href="{% url 'password_reset' %}">{% trans "Forgot password?" %}</a>
</p>
<hr>
<h2>{% trans "Need an account?" %}</h2>
<a href="{% url 'register_user' %}"
class="btn btn-pfl-secondary me-1"
type="button">{% trans "Register" %}</a>
{% endblock %}