<div class="gx-table-wrapper">

    <table class="gx-table">
        <thead>
            <tr>
                <th class="sortable" onclick="sortTable(0)">Name</th>
                <th class="sortable" onclick="sortTable(1)">Scenes</th>
                <th class="sortable" onclick="sortTable(2)">Tags</th>
            </tr>
        </thead>

        <tbody>
            {{range .Performers}}
            <tr class="gx-table-row-link"
                onclick="location.href='/performers/{{.Performer.ID}}'">

                <td data-label="Name">{{.Performer.Name}}</td>
                <td data-label="Scenes">{{.SceneCount}}</td>
                <td data-label="Tags">{{len .Performer.Tags}}</td>

            </tr>
            {{end}}
        </tbody>
    </table>

</div>
