api for grouping centers, select centers as group in "pick centers" step

for exports
This commit is contained in:
2019-01-28 15:21:31 +01:00
parent cf354cbccd
commit 722274964c
8 changed files with 179 additions and 5 deletions

View File

@@ -35,6 +35,15 @@
{{ form_widget(form.centers.c) }}
{% if form.centers.children.g is defined %}
<h3>{{ 'Pick aggregated centers'|trans }}</h3>
{% for f in form.centers.children.g.children %}
{{ form_row(f) }}
{% endfor %}
{% endif %}
<p>{{ form_widget(form.submit, { 'attr' : { 'class' : 'sc-button btn-action bt-create' }, 'label' : 'Go to export options' } ) }}</p>
{{ form_end(form) }}