<div class="actions">
{{we-action-create-btn resourceName req currentVocabulary.name}}
</div>
<table class="table table-striped table-hover">
  <thead>
    <tr>
      <th>ID</th>
      <th>{{t 'text'}}</th>
      <th>{{t 'actions'}}</th>
    </tr>
  </thead>
  <tbody>
  {{#each data}}
    <tr>
      <td>{{id}}</td>
      <td>{{text}}</td>
      <td>
        {{we-action-view-btn ../resourceName this ../req vocabularyName text}}
        {{we-action-edit-btn ../resourceName this ../req vocabularyName text}}
        {{we-action-delete-btn ../resourceName this ../req vocabularyName text}}
      </td>
    </tr>
  {{/each}}
  </tbody>
  <tfoot>
    <td colspan="3">
      {{paginate count=metadata.count limit=query.limit currentPage=query.page req=req}}
    </td>
  </tfoot>
</table>