<table class="table table-striped table-hover table-bordered">
    <thead>
        <tr>
            <th>Date</th>
            <th>Service</th>
            <th>Notes</th>
            <th>Redirect To</th>
        </tr>
    </thead>
    <tbody>
        {foreach $nextVisits as $nextVisit }
        <tr>
            <td>{$nextVisit.visitdate}</td>
            <td>{$nextVisit.serviceName}</td>
            <td>{$nextVisit.redirect_note}</td>
            <td>{$nextVisit.redirectTo}</td>
        </tr>
        {/foreach}
    </tbody>
</table>