mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
exports: improve formatter twig template (when multiple order rows)
This commit is contained in:
parent
a817b0bf4c
commit
5c2b2105b2
@ -33,19 +33,21 @@
|
|||||||
<section class="formatter mb-4">
|
<section class="formatter mb-4">
|
||||||
<h2>{{ 'Formatter'| trans }}</h2>
|
<h2>{{ 'Formatter'| trans }}</h2>
|
||||||
|
|
||||||
<div>
|
|
||||||
{% if form.children.formatter.children|length == 0 %}
|
{% if form.children.formatter.children|length == 0 %}
|
||||||
<p>
|
<p>
|
||||||
<span class="chill-no-data-statement">{{ "No options availables. Your report is fully configured."|trans }}</span>
|
<span class="chill-no-data-statement">{{ "No options availables. Your report is fully configured."|trans }}</span>
|
||||||
</p>
|
</p>
|
||||||
{{ form_widget(form.children.formatter) }}
|
{{ form_widget(form.children.formatter) }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{# we always have to render children, to mark as rendered #}
|
<div class="container py-4">
|
||||||
{% for input in form.children.formatter.children %}
|
{# we always have to render children, to mark as rendered #}
|
||||||
{{ form_row(input) }}
|
{% for input in form.children.formatter.children %}
|
||||||
{% endfor %}
|
<div class="row">
|
||||||
|
{{ form_row(input) }}
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="mb-4">
|
<div class="mb-4">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user