templates: allow content before and after a2 block (#54471)

This commit is contained in:
Serghei Mihai 2021-06-01 12:10:38 +02:00
parent ab9428c7b9
commit d83c3f874e
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
{% extends "authentic2/base.html" %}
{% block placeholder-content %}
{% block a2-block-pre %}{% endblock %}
<div class="a2-block">
{% block form-title %}
{% if view.title %}<h2>{{ view.title }}</h2>{% endif %}
@ -8,4 +9,5 @@
{% block content %}
{% endblock %}
</div>
{% block a2-block-post %}{% endblock %}
{% endblock %}