Compare commits

...

4 commits

Author SHA1 Message Date
Jannis Portmann f3a4c6c4a5 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
2023-09-15 11:43:42 +02:00
Jannis Portmann e447db216e Translate string
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2023-09-15 11:41:53 +02:00
Jannis Portmann 68d3571b4f Add title 2023-09-15 11:41:36 +02:00
Jannis Portmann d77592311a Add registration button 2023-09-15 11:08:10 +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 %}