mark potential place where template must include vue_address component

This commit is contained in:
2021-08-07 11:50:08 +02:00
parent 47d704b521
commit 9e94cea9d5
6 changed files with 36 additions and 3 deletions

View File

@@ -26,6 +26,7 @@
{% block content %}
<h1>{{ block('title') }}</h1>
{# include vue_address component #}
{% include '@ChillPerson/Address/_insert_vue_address.html.twig' with {
address_id: person.lastAddress.id,
mode: 'edit',

View File

@@ -67,12 +67,28 @@
{# include vue_address component #}
<a href="" class="btn btn-sm btn-create">{{ 'Insert an address'|trans }}</a></div>
{#
{% include '@ChillPerson/Address/_insert_vue_address.html.twig' with {
address_id: address.id,
mode: 'edit',
binModalStep1: false,
binModalStep2: false,
} %}
#}
<div class="{{ 'row' ~ row ~ ' ' }}col-b"></div>
<div class="{{ 'row' ~ row ~ ' ' }}col-c action">
{# include vue_address component #}
<a href="" class="btn btn-sm btn-create">{{ 'Insert an address'|trans }}</a></div>
{#
{% include '@ChillPerson/Address/_insert_vue_address.html.twig' with {
address_id: address.id,
mode: 'edit',
binModalStep1: false,
binModalStep2: false,
} %}
#}
<div class="date">
{% if address.validTo is not empty %}

View File

@@ -26,6 +26,7 @@
{% block content %}
<h1>{{ block('title') }}</h1>
{# include vue_address component #}
{% include '@ChillPerson/Address/_insert_vue_address.html.twig' with {
address_id: person.lastAddress.id,
mode: 'new',