{% extends "NKCoreBundle/layout.html.twig" %} {% block body %} {% if action.id is not null and action.index is not null %}
Index - {{ action.index.name }}
{% endif %}Action Edit
{{ form_start(form) }} {{ form_widget(form) }} {{ form_end(form) }}
Liste parametres
{{ render(controller( 'NK\\CoreBundle\\Controller\\ActionParameterController::newAction', { 'action': action.id } )) }} {% if action.parameters is not null and action.parameters|length > 0 %} {% for parameter in action.parameters %}{{ parameter.name }} delete
{% endfor %} {% else %}Aucun parametre.
{% endif %}Liste returns
{{ render(controller( 'NK\\CoreBundle\\Controller\\ActionReturnController::newAction', { 'action': action.id } )) }} {% if action.returns is not null and action.returns|length > 0 %} {% for return in action.returns %}{{ return.name }} delete
{% endfor %} {% else %}Aucun return.
{% endif %}Liste actions
{{ render(controller( 'NK\\CoreBundle\\Controller\\SubActionController::newAction', { 'action': action.id } )) }} {% if action.subActions is not null and action.subActions|length > 0 %} {% for subAction in subActions %}{{ subAction.order ~ '.' }} {{ subAction.name }} delete
{{ render(controller( 'NK\\CoreBundle\\Controller\\SubActionController::editAction', { 'subAction': subAction.id } )) }} {% endfor %} {% else %}Aucune action.
{% endif %} {% endif %} {% endblock %}