<ion-grid>
    <% for (let index in elements) { let element = elements[index] %>
        <% if ((index % cols) == 0) { %><ion-row><% } %>
        <ion-col>
            <%= renderEngine.renderHTML(element) %>
        </ion-col>
        <% if (((index % cols) == (cols-1)) || (index == elements.length - 1)) { %></ion-row><% } %>
    <% } %>
</ion-grid>
