mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
improve layout and messages for export
This commit is contained in:
@@ -31,9 +31,17 @@
|
||||
<h2>{{ 'Formatter'| trans }}</h2>
|
||||
|
||||
<div style="clear: both;">
|
||||
{% for input in form.children.formatter.children %}
|
||||
{{ form_row(input) }}
|
||||
{% endfor %}
|
||||
{% if form.children.formatter.children|length == 0 %}
|
||||
<p>
|
||||
<span class="chill-no-data-statement">{{ "No options availables. Your report is fully configured."|trans }}</span>
|
||||
</p>
|
||||
{{ form_widget(form.children.formatter) }}
|
||||
{% else %}
|
||||
{# we always have to render children, to mark as rendered #}
|
||||
{% for input in form.children.formatter.children %}
|
||||
{{ form_row(input) }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user