{% block extends %} {{ "{% extends 'base.html.twig' %}" }} {% endblock extends %} {% block body %} {{ "{% block body %}" }} <h1>{{ entity }} edit</h1> {{ '{{ form_start(edit_form) }}' }} {{ '{{ form_widget(edit_form) }}' }} <input type="submit" value="Edit" /> {{ '{{ form_end(edit_form) }}' }} {% set hide_edit, hide_delete = true, false %} {{ include('crud/views/others/record_actions.html.twig.twig') -}} {{ "{% endblock %}" }} {% endblock body %}
info at phpclasses dot org