{# approval-base/legacy/views/object/mode_approval.html.twig #} {# Object brick create layout #} {% set sFormId = (form.id is defined and form.id is not null) ? form.id : 'object_form' %} {% set sFormIdSanitized = sFormId|replace({'-': ''}) %} {% set tIsModal = (tIsModal is defined and tIsModal == true) ? true : false %}
{# #form_alerts block removed as we don't use it there. #}
{% block pFormFields %} {{ form.renderer.GetBaseLayout()|raw }} {% endblock %}
{% block pFormButtons %} {# Form tag is only there and not for the whole modal, otherwise we would post the whole formmanager data when submitting #}
{% endblock %}