mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
address: handle cases when null street and streetnumber are given
This commit is contained in:
@@ -20,7 +20,13 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div hidden>
|
||||
{{ form_rest(form) }}
|
||||
{% if address.isNoAddress %}
|
||||
{{ form_row(form.street, {'value': ' '})}}
|
||||
{{ form_row(form.streetNumber, {'value': ' '})}}
|
||||
{{ form_row(form.postCode)}}
|
||||
{% else %}
|
||||
{{ form_rest(form) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<ul class="record_actions sticky-form-buttons">
|
||||
|
Reference in New Issue
Block a user