<table class="span9 table table-bordered table-striped table-condensed">
    <thead>
        <tr>
            <th class="span3">Name</th><th class="span3">Email</th><th class="span6">Groups</th>
        </tr>
    </thead>
    <tbody>
        {{#contacts}}
        <tr>
            <td><a data-href="{{canonical-href}}" href="#{{href}}">{{displayname}}</a></td>
            <td>{{email}}</td>
            <td>
                {{#groups}}
                <span class="badge pull-right">{{group}}</span>
                {{/groups}}
            </td>
        </tr>
        {{/contacts}}
    </tbody>
</table>
