fix personcontent / content switch in some pages

This commit is contained in:
Julien Fastré 2022-03-24 20:52:58 +01:00
parent ad4f400262
commit e82b2bd10a
4 changed files with 3 additions and 8 deletions

View File

@ -30,7 +30,7 @@
</dl> </dl>
{% endblock %} {% endblock %}
{% block personcontent %} {% block content %}
{{ include('@ChillMain/Util/confirmation_template.html.twig', {{ include('@ChillMain/Util/confirmation_template.html.twig',
{ {
'title' : 'Delete document ?'|trans, 'title' : 'Delete document ?'|trans,

View File

@ -14,7 +14,7 @@
{{ encore_entry_link_tags('mod_pickentity_type') }} {{ encore_entry_link_tags('mod_pickentity_type') }}
{% endblock %} {% endblock %}
{% block personcontent %} {% block content %}
<h1 style="margin-bottom: 2rem;">{{ 'Add a person resource'|trans }}</h1> <h1 style="margin-bottom: 2rem;">{{ 'Add a person resource'|trans }}</h1>

View File

@ -7,7 +7,6 @@
{% block content %} {% block content %}
<div class="address-edit"> <div class="address-edit">
{% block content %}
<h1>{{ block('title') }}</h1> <h1>{{ block('title') }}</h1>
{{ form_start(form) }} {{ form_start(form) }}
@ -45,7 +44,6 @@
{{ form_end(form) }} {{ form_end(form) }}
{% endblock %}
</div> </div>
{% endblock %} {% endblock %}

View File

@ -7,7 +7,6 @@
{% block content %} {% block content %}
<div class="address-new"> <div class="address-new">
{% block content %}
<h1>{{ block('title') }}</h1> <h1>{{ block('title') }}</h1>
{# TODO #} {# TODO #}
@ -15,8 +14,6 @@
{% include '@ChillPerson/ResidentialAddress/_form.html.twig' %} {% include '@ChillPerson/ResidentialAddress/_form.html.twig' %}
{% endblock %} {% endblock %}
{% endblock %}
</div> </div>
{% endblock %} {% endblock %}