2016-09-22 16:29:19 -05:00
|
|
|
<%
|
|
|
|
content_for :section_title, "Completed Tests"
|
2016-11-22 16:59:54 -06:00
|
|
|
content_for :title, "Quiz Results - Skills Assessment Admin"
|
2016-09-22 16:29:19 -05:00
|
|
|
%>
|
2016-07-31 16:34:35 -05:00
|
|
|
<main class="summary_tpl">
|
|
|
|
<table cellspacing="0" cellpadding="0">
|
|
|
|
<tr>
|
2017-02-14 16:39:53 -06:00
|
|
|
<th><%= sortable "test_hash", "Test ID" %></th>
|
|
|
|
<th><%= sortable "experience" %></th>
|
|
|
|
<th><%= sortable "project", "Client/Project" %></th>
|
2016-07-31 16:34:35 -05:00
|
|
|
<th>Recruiter</th>
|
2017-02-14 16:39:53 -06:00
|
|
|
<th><%= sortable "completed_at", "Submitted on" %></th>
|
2016-11-28 15:40:25 -06:00
|
|
|
<th>Interview?</th>
|
2016-07-31 16:34:35 -05:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% @candidates.each do |candidate| %>
|
|
|
|
<tr>
|
2016-09-22 14:19:44 -05:00
|
|
|
<td><%= link_to candidate.test_hash, admin_result_path(candidate.test_hash) %></td>
|
2016-07-31 16:34:35 -05:00
|
|
|
<td><%= candidate.experience %> years</td>
|
2017-02-08 16:05:37 -06:00
|
|
|
<td><%= candidate.project %></td>
|
2016-07-31 16:34:35 -05:00
|
|
|
<td><%= mail_to(candidate.recruiter.email) %></td>
|
2016-12-04 16:41:07 -06:00
|
|
|
<td><%= candidate.completed_at.strftime('%D') unless candidate.completed_at.nil? %></td>
|
2016-11-28 15:40:25 -06:00
|
|
|
<td><%= candidate.interview? %></td>
|
2016-07-31 16:34:35 -05:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|
2017-02-24 14:27:38 -06:00
|
|
|
<%= paginate @candidates %>
|
2016-07-31 16:34:35 -05:00
|
|
|
</main>
|