Merge pull request 'Improve login screen' (#17) from dev into main
Reviewed-on: #17
This commit is contained in:
commit
f3a4c6c4a5
|
@ -1,6 +1,9 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
|
{% block title %}
|
||||||
|
Login
|
||||||
|
{% endblock title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if next %}
|
{% if next %}
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
@ -21,4 +24,9 @@
|
||||||
<p>
|
<p>
|
||||||
<a href="{% url 'password_reset' %}">{% trans "Forgot password?" %}</a>
|
<a href="{% url 'password_reset' %}">{% trans "Forgot password?" %}</a>
|
||||||
</p>
|
</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 %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue