mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 19:09:45 +00:00
[address] allow to add custom data on addresses
This commit is contained in:
@@ -182,4 +182,14 @@
|
||||
<button class="chill-collection__button--add sc-button" data-collection-add-target="{{ form.vars.name|escape('html_attr') }}" data-form-prototype="{{ ('<div>' ~ form_widget(form.vars.prototype) ~ '</div>')|escape('html_attr') }}" >{{ form.vars.button_add_label|trans }}</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block address_widget %}
|
||||
{% for entry in form %}
|
||||
{% if entry.vars.name != 'customs' %}
|
||||
{{ form_row(entry) }}
|
||||
{% else %}
|
||||
{{ form_widget(entry) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user