Merge pull request 'Improve login screen' (#17) from dev into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

Reviewed-on: #17
This commit is contained in:
Jannis Portmann 2023-09-15 11:43:42 +02:00
commit f3a4c6c4a5

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 %}