diff --git a/Resources/views/Export/new.html.twig b/Resources/views/Export/new.html.twig index 812999d83..08fef096b 100644 --- a/Resources/views/Export/new.html.twig +++ b/Resources/views/Export/new.html.twig @@ -27,6 +27,8 @@

{{ export.description|trans }}

{{ form_start(form) }} + + {% if form.children.export.children.filters is not empty%}

{{ 'Filters'| trans }}

{% for filter_form in form.children.export.children.filters %} @@ -35,7 +37,9 @@ {{ form_widget(filter_form.form) }} {% endfor %}
+ {% endif %} + {% if form.children.export.children.aggregators is not empty %}

{{ 'Aggregators'| trans }}

{% for aggregator_form in form.children.export.children.aggregators %} @@ -44,6 +48,7 @@ {{ form_widget(aggregator_form.form) }} {% endfor %}
+ {% endif %}

{{ 'Formatter'| trans }}

@@ -56,8 +61,8 @@ {{ form_widget(form.children.export.children.export) }}
{% else %} - {# render the children, to mark the widget as 'rendered' #} - {{ form_widget(form.children.export.children.export) }} + {# render the children, to mark the widget as 'rendered' + {{ form_widget(form.children.export.children.export) }}#} {% endif %}

{{ form_widget(form.submit, { 'attr' : { 'class' : 'sc-button btn-action' } } ) }}