1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-22 10:28:21 +02:00

move all templates to use base.html

This commit is contained in:
Pierre-antoine Comby
2019-08-11 16:21:59 +02:00
parent 4a732498b9
commit fbc6570eb6
9 changed files with 20 additions and 11 deletions

View File

@ -1,8 +1,17 @@
{% extends "admin/login.html" %}
{% extends "base.html" %}
{% comment %}
SPDX-License-Identifier: GPL-2.0-or-later
{% endcomment %}
{% load i18n %}
{% block title %}{% trans "Log in" %}{% endblock %}
{% block title %}{% trans "Log in" %}{% endblock %}
{% block content %}
<h2>Login</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Login</button>
</form>
{% endblock %}