{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<form
    action="{actionUri}"
    method="GET"
    {formAttributes -> f:format.raw()}>

    <f:for each="{actionArguments}" as="value" key="key">
        <input type="hidden" name="{key}" value="{value}" />
    </f:for>
    <f:for each="{hiddenFields}" as="value" key="key">
        <input type="hidden" name="{key}" value="{value}" />
    </f:for>

    <div class="flex flex-wrap justify-between">
        <f:for each="{items}" as="item">
            {vh:render(renderable: item) -> f:format.raw()}
        </f:for>
    </div>

    <div class="flex justify-end">
        <a href="{actionUri}" class="px-8 py-3">
            Zurücksetzen
        </a>

        <button type="submit" class="neos-button neos-button-primary px-8">
            Filtern
        </button>
    </div>
</form>
