{% use '/common/form/form.html.twig' %} {% block formwrapper %} {% set buttonShow = buttonShow is defined ? buttonShow : true %} {% set buttonLabel = buttonLabel is defined ? buttonLabel : 'Search'|trans %} {% set buttonClass = buttonClass is defined ? buttonClass : '' %} {% set formPath = formPath is defined ? formPath : path('app_catalog_form_submit') %}
{{ block('form') }} {% if form.action and buttonShow %} {% endif %}
{% endblock %}