allow to show customized form for address

This commit is contained in:
Julien Fastré 2022-02-23 15:28:46 +01:00
parent e914abcb6f
commit 6d2fa87083
2 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,10 @@
{{ form_row(form.streetAddress2) }}
{{ form_row(form.postCode) }}
{{ form_row(form.validFrom) }}
{% if form.customs is defined %}
{{ form_widget(form.customs) }}
{% endif %}
<ul class="record_actions sticky-form-buttons">
<li class="cancel">

View File

@ -36,6 +36,10 @@
{{ form_row(form.validFrom) }}
{{ form_errors(form.validFrom) }}
{% if form.customs is defined %}
{{ form_widget(form.customs) }}
{% endif %}
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
<a href="{{ path('chill_person_address_list', { 'person_id' : person.id } ) }}" class="sc-button bt-cancel">