[twig][templates] introduce an option in adress_entity_render to display or not the address details button

This commit is contained in:
2023-04-21 19:25:24 +02:00
parent dc22c94b95
commit 13feb3b212
5 changed files with 23 additions and 5 deletions

View File

@@ -55,7 +55,8 @@
<span class="col-md-auto address">
{%- if address is not null -%}
{{ address|chill_entity_render_box({
'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true
'render': 'inline', 'multiline': false, 'with_picto': true, 'with_delimiter': true,
'details_button': false
}) }}
{%- endif -%}
{% if person.getCurrentHousehold is not null %}