diff --git a/Resources/views/Form/fields.html.twig b/Resources/views/Form/fields.html.twig index 3a23a5adf..8f611e6de 100644 --- a/Resources/views/Form/fields.html.twig +++ b/Resources/views/Form/fields.html.twig @@ -35,15 +35,20 @@ {# CFChoice : render the different elements in a choice list #} {% block cf_choices_row %}

{{ 'Choices'|trans }}

- + {{ dump(form.vars.prototype.children) }} +
{% for choice in form %} {% endfor %}
{{ form_row(choice.name) }} + {{ form_row(choice.active) }} + {{ form_row(choice.slug) }}
- +
{# we use javascrit to add an additional element. All functions are personnalized with the id ( = form.vars.id) #}