{{ form_row(form.label) }} {% if form.position is defined %} {{ form_row(form.position) }} {% endif %}
{% set action = form.pageAction[0] %} {% set options = not entity.id ? {'attr': {'checked': 'checked'}} : {} %}

{{ form_row(action, options) }}

{{ form_row(form.pageType) }}
{% set action = form.pageAction[1] %}

{{ form_row(action) }}

{{ form_row(form.pageEntity) }}
{% set action = form.pageAction[2] %}

{{ form_row(action) }}

Aucune action
{% if entity.id %}
{% set action = form.pageAction[3] %} {% set options = {'attr': {'checked': 'checked'}} %}

{{ form_row(action, options) }}

Aucune action
{% endif %}
{{ form_row(form.url) }}
Nom de la route : {{ entity.routeName }}
{{ form_row(form.code) }} {{ form_row(form.controller) }}
{% for item in form.parameters %}
{{ item.vars.data.name }}
{{ form_row(item.name) }} {{ form_row(item.defaultValue) }} {{ form_row(item.requirement) }}
{{ form_rest(item) }}
{% endfor %}
Ajouter un paramètre
{% for item in form.attributes %}
{{ item.vars.data.label }}
{{ form_row(item.label) }} {{ form_row(item.value) }}
{{ form_rest(item) }}
{% endfor %}
Ajouter un attribut
{{ form_rest(form) }}