mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
FEATURE [regroupment][form] integrate in regroupment admin entity into PickCenterType, datamapping not working
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{#
|
||||
* Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
|
||||
* Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
|
||||
<info@champs-libres.coop> / <http://www.champs-libres.coop>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
@@ -22,39 +22,43 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="col-md-10">
|
||||
|
||||
|
||||
{{ include('@ChillMain/Export/_breadcrumb.html.twig') }}
|
||||
|
||||
|
||||
<h1>{{ export.title|trans }}</h1>
|
||||
|
||||
|
||||
<p>{{ export.description|trans }}</p>
|
||||
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
|
||||
<section class="center mb-4">
|
||||
|
||||
|
||||
<h2>{{ 'Pick centers'|trans }}</h2>
|
||||
|
||||
|
||||
<p>{{ 'The export will contains only data from the picked centers.'|trans }}
|
||||
{{ 'This will eventually restrict your possibilities in filtering the data.'|trans }}</p>
|
||||
|
||||
{{ 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 %}
|
||||
|
||||
|
||||
<h3 class="m-3">{{ 'Center'|trans }}</h3>
|
||||
{{ form_widget(form.centers.center) }}
|
||||
|
||||
<h3 class="m-3">{{ 'Pick aggregated centers'|trans }}</h3>
|
||||
{{ form_widget(form.centers.regroupment) }}
|
||||
|
||||
{# {% 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 %}#}
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
<p>{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-action btn-create' }, 'label' : 'Go to export options' } ) }}</p>
|
||||
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
Reference in New Issue
Block a user