<!-- Error rendering component -->
<!-- TwigException: getLang function does not exist and is not defined in the context -->
<!-- Error: TwigException: getLang function does not exist and is not defined in the context
    at /builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:156:24
    at new Promise (<anonymous>)
    at TwigAdapter.render (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:134:16)
    at ComponentSource._renderVariant (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
    at _renderVariant.next (<anonymous>)
    at onFulfilled (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/co/index.js:65:19) -->
{# --BLUEPRINT DO NOT REMOVE--

/--BLUEPRINT DO NOT REMOVE-- #}
{% set className = className ? ' ' ~ className : '' %}
{% set route = route ?? route('search.' ~ getLang()) %}
{% set method = method ?? 'post' %}
{% if showMagnifier %}
    {% set className = className ~ ' show-magnifier' %}
{% endif %}
<form class="search-form{{ className }}" method="{{ method }}" action="{{ route }}">
    {% if showMagnifier %}
        {% include '@atoms/icon/icon.twig' with {
            icon: 'search',
        } %}
    {% endif %}
    <input aria-label="{{ t('Suchbegriff') }}" type="text" name="q"{% if placeholder is not empty %} placeholder="{{ placeholder }}{% endif %}">
</form>
{
  "showMagnifier": true
}

Search form

{% include '@atoms/search_form/search_form.twig' with {

    } only %}

ACF

Fields