paginate and sort candidates list

comletes #99
This commit is contained in:
Mark Moser
2017-02-24 15:54:11 -06:00
parent b871285c75
commit fbbc0edebe
4 changed files with 22 additions and 12 deletions

View File

@ -9,13 +9,13 @@
<table cellspacing="0" cellpadding="0">
<tr>
<th>Candidate</th>
<th>Test ID</th>
<th>Email</th>
<th>Experience</th>
<th><%= sortable "name", "Candidate" %></th>
<th><%= sortable "test_hash", "Test ID" %></th>
<th><%= sortable "email" %></th>
<th><%= sortable "experience" %></th>
<th>Progress</th>
<th>Completed</th>
<th>Reminded</th>
<th><%= sortable "completed_at", "Completed" %></th>
<th><%= sortable "reminded" %></th>
<th>Interview?</th>
</tr>
@ -36,4 +36,5 @@
</tr>
<% end %>
</table>
<%= paginate @candidates %>
</main>