{#<form class="fade" action="{{ path }}" method="{{method}}" enctype="multipart/form-data">#}
<div class='flex flex-col gap-6'>
{% for item in snippets %}
{% for form in item.form %}
{% for row in form.field %}
{{ include('pages/blocks/form/' ~ row.type ~ '.html.twig', {
content : row,
index : loop.index
}) }}
{% endfor %}
{% endfor %}
{% endfor %}
</div>
<input id="sending" type="hidden" name="sending" value="{{snippets[0].sending }}"/>
<input type="hidden" name="recaptcha-key" value="6LeAM5soAAAAAEbvkEGxEoj8MYPh_51P0Lc7_MH5">
{# input with name g-recaptcha-response is generated by JS #}
{# <input id="recaptchaResponse" type="hidden" name="g-recaptcha-response"/> #}
<input type="hidden" name="referer" value="{{app.request.uri}}"/>
<input type="hidden" name="email_from" value="{{snippets ? snippets[0].submition_from : '' }}"/>
<input type="hidden" name="email_to" value="{{snippets ? snippets[0].submition_to : '' }}"/>
<input type="hidden" name="email_subject" value="{{snippets ? snippets[0].submition_subject : '' }}"/>
<input type="hidden" name="admin_form_title" value="{{snippets ? snippets[0].admin_form_title : '' }}"/>
<input type="hidden" name="client_form_title" value="{{snippets ? snippets[0].client_form_title : '' }}"/>
<input type="hidden" name="admin_form_text" value="{{snippets ? snippets[0].admin_form_text : '' }}"/>
<input type="hidden" name="client_form_text" value="{{snippets ? snippets[0].client_form_text : '' }}"/>
<div class="form-success-message form-message">{{ msg | raw }}</div>
<div class="form-error-message form-message">Error</div>
{#</form>#}