move _insert_vue_address include template in main, make it more generic

because it is used with person and household,
but prepare to extend for thirdparty
This commit is contained in:
2021-09-15 18:17:06 +02:00
parent b80d109d8e
commit c2f75654dd
8 changed files with 42 additions and 33 deletions

View File

@@ -27,7 +27,9 @@
<h1>{{ block('title') }}</h1>
{# include vue_address component #}
{% include '@ChillPerson/Address/_insert_vue_address.html.twig' with {
{% include '@ChillMain/Address/_insert_vue_address.html.twig' with {
targetEntity: { name: 'person', id: person.id },
backUrl: path('chill_person_address_list', { 'person_id': person.id }),
binModalStep1: false,
binModalStep2: false,
} %}