{{ "{% extends '::base.html.twig' %}" }}

{{ "{% block body -%}" }}
    <h1>{{ entity }} edit</h1>

    <form action="{{ "{{ path('" ~ route_name_prefix ~ "_update', { 'id': entity.id }) }}" }}" method="post" {{ "{{ form_enctype(edit_form) }}" }}>
        <input type="hidden" name="_method" value="PUT" />
        {{ "{{ form_widget(edit_form) }}" }}
        <p>
            <button type="submit">Edit</button>
        </p>
    </form>

    {% set hide_edit, hide_delete = true, false %}
    {% include 'views/others/record_actions.html.twig.twig' %}
{{ "{% endblock %}" }}
