prototype(Newland.CityTheme:Quicksearch) < prototype(Neos.Neos:Content) {
    templatePath = 'resource://Newland.CityTheme/Private/Templates/NodeTypes/Quicksearch.html'

    // Set global language
    siteLang = ${q(node.context.dimensions.language).get(0)}

    targetUriSegment = ${Configuration.setting('Newland.Toubiz.Poi.Neos.lodging.targetUriSegment')}

    @process.wrapWithContainer = ${'<section class="o-container o-container--sm ' + q(node).property('marginTop') + '">' + value + '</section>'}

    // Settings config
    // tportalConfig = ${Configuration.setting('Newland.QuickSearch.Settings.tportal.default')}

    /*
        See this example for multi-site usage:

        tportalConfig = Neos.Fusion:Case {
            default {
                condition = ${q(site).property('_path') == '/sites/default'}
                renderer = ${Configuration.setting('Newland.QuickSearch.Settings.tportal.default')}
            }
            site2 {
                condition = ${q(site).property('_path') == '/sites/site2'}
                renderer = ${Configuration.setting('Newland.QuickSearch.Settings.tportal.site2')}
            }
            site3 {
                condition = ${q(site).property('_path') == '/sites/site3'}
                renderer = ${Configuration.setting('Newland.QuickSearch.Settings.tportal.site3')}
            }
            fallback {
                condition = ${true}
                renderer = ${Configuration.setting('Newland.QuickSearch.Settings.tportal.default')}
            }
        }
    */
}
