login-template: Add a "login_container" block inside the div-container.

This allows for more flexible customization of the login page,
since it allows to re-use the login form in an extending template
by reusing the new block.

This was not cleanly possible before since the main container
was part of the very same block as the form code.

fixes #3414
This commit is contained in:
Oliver Freyermuth
2021-04-14 20:08:25 +02:00
parent 14539c4e0f
commit 869661bf25

View File

@@ -10,6 +10,7 @@
{% block login %}
<div id="login-main" class="container">
{% block login_container %}
{% if custom_html %}
{{ custom_html | safe }}
{% elif login_service %}
@@ -83,6 +84,7 @@
</div>
</form>
{% endif %}
{% endblock login_container %}
</div>
{% endblock login %}