<f:layout name="Default" />

<f:section name="main">
    <f:if condition="{map.showForm}">
        <f:render partial="Map/Form" arguments="{map:map, request:request, addresses: addresses}"/>
    </f:if>
    <div id="{map.title}" class="map-wrapper"> </div>
    <f:render partial="Map/Assign" arguments="{request:request, map:map, settings:settings, addresses:addresses}" />
    <f:if condition="{map.showCategories}">
        <f:render partial="Map/Categories" arguments="{map:map, addresses:addresses, request:request, categories: categories}" />
    </f:if>
</f:section>