allow to update existing address

This commit is contained in:
2016-03-10 21:44:53 +01:00
parent afe6ace331
commit 91ed954be8
5 changed files with 202 additions and 0 deletions

View File

@@ -173,6 +173,9 @@ This view should receive those arguments:
<dd>
{%- if person.lastAddress is not empty -%}
{{ address._render(person.lastAddress) }}
<a href="{{ path('chill_person_address_edit', { 'person_id': person.id, 'address_id' : person.lastAddress.id } ) }}">
{{ 'Edit'|trans }}
</a>
{%- else -%}
<span class=".chill-no-data-statement">{{ 'No address given'|trans }}</span>
{%- endif -%}