<pad-if _:if:_="courses">
    <table class="pad-courselist">
        <thead>
        <tr>
            <th>{{_"Cursus"}}</th>
            <th>{{_"Begint op"}}</th>
            <pad-if _:if:_="config->showDayPartsCount">
                <th>{{_"Aantal dagdelen"}}</th>
            </pad-if>
            <pad-if _:if:_="config->showLocation">
                <th>{{_"Locatie"}}</th>
            </pad-if>
            <pad-if _:if:_="config->showPrice">
                <th>{{_"Prijs"}}</th>
            </pad-if>
            <pad-if _:if:_="config->showDetailButton">
                <th>{{_"Bekijk"}}</th>
            </pad-if>
        </tr>
        </thead>
        <pad-for _:in:_="courses" as="course" _:limit:_="config->limit">
            <pad-course-list_item pad-template="table" _:course:_="course"/>
        </pad-for>
    </table>
</pad-if>