{{{customeditframe.editframeStart}}}
<div class="events-grid" data-module="eventsGrid" data-filter-api-endpoint="{{filterApiEndpoint}}"
     data-datasource="{{dataSource}}">
    {{> @cp-events-filter filter}}
    <p class="trip-ideas-grid__message trip-ideas-grid__message--error js-results-error">{{errorMessage}}</p>
    <div class="trip-ideas-grid__loader js-loader">{{> @loader }}</div>
    <div class="js-api-results-container" data-module="card"></div>
    <div class="trip-ideas-grid__button js-load-more">
        {{> @cp-button-secondary target=button.target url="#" text=button.text cssClasses="js-load-more"}}
    </div>
</div>
{{{customeditframe.editframeStop}}}