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

View File

@ -14,7 +14,7 @@
{{ encore_entry_link_tags('mod_pickentity_type') }}
{% endblock %}
{% block personcontent %}
{% block content %}
<h1 style="margin-bottom: 2rem;">{{ 'Add a person resource'|trans }}</h1>
@ -22,4 +22,4 @@
<h3 style="margin-bottom: 2rem;">{{ 'Add a person resource'|trans }}</h3>
{% include "@ChillPerson/PersonResource/form.html.twig" %}
</div>
{% endblock %}
{% endblock %}

View File

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

View File

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