add api to add a validation on export elements

Exports elements should implements "ExportElementValidatedInterface"
This commit is contained in:
2017-02-02 22:32:02 +01:00
parent 43047c5008
commit 5c0ca70ebf
10 changed files with 209 additions and 11 deletions

View File

@@ -46,9 +46,11 @@
<div data-display-show-hide="{{ filter_form.vars.id }}">
{{ form_widget(filter_form.form) }}
{{ form_errors(filter_form) }}
</div>
</div>
{% endfor %}
{{ form_errors(form.children.export.children.filters) }}
</div>
{% else %}
{# render the children, to mark the widget as 'rendered' #}
@@ -67,6 +69,7 @@
<div data-display-show-hide="{{ aggregator_form.vars.id }}">
{{ form_widget(aggregator_form.form) }}
{{ form_errors(aggregator_form) }}
</div>
</div>
{% endfor %}