{# contact-form override — reservations enquiry. ALL form wiring preserved verbatim from builtin: bid, {% form %} action/hx attrs, honeypot, field loop, form.submitted/errors, submit target. Only inputs restyled to Art Deco. #} {% with bid=_block_id|default:context.blockId %}
{% if form.submitted %}
::lucide:check:lg::

{{ form.message|default:successMessage|default:"Thank you. Your table request has been received." }}

{% else %}
{% if heading %}

{{ heading }}

{% endif %} {% if description %}

{{ description }}

{% endif %}
{% if form.errors._form %}
{{ form.errors._form }}
{% endif %} {% with formAction="/api/blocks/"|add:bid|add:"/submit" formTarget="#contact-form-"|add:bid %} {% form action=formAction hx_target=formTarget hx_swap="outerHTML" class="mt-8 grid grid-cols-1 gap-5 sm:grid-cols-2" %} {% for field in fields %}
{% if field.label %}{% endif %} {% if field.type == "textarea" %} {% elif field.type == "select" %} {% else %} {% endif %}
{% endfor %}
{% endform %} {% endwith %} {% endif %}
{% endwith %}