render_box address: new options and render modes

This commit is contained in:
2021-07-30 14:17:16 +02:00
parent 08cd6c81f2
commit 31c5c8b52a
5 changed files with 153 additions and 48 deletions

View File

@@ -169,7 +169,12 @@ This view should receive those arguments:
<dt>{{ 'Address'|trans }}</dt>
<dd>
{%- if person.lastAddress is not empty -%}
{{ person.lastAddress|chill_entity_render_box({'has_no_address': true}) }}
{{ person.lastAddress|chill_entity_render_box({
'render': 'bloc',
'multiline': true,
'extended_infos': true,
'has_no_address': true
}) }}
<ul class="list-inline text-right mt-2">
<li class="list-inline-item">