skill-assessment-app/app/views/admin/result/index.html.erb

24 lines
651 B
Plaintext
Raw Normal View History

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>
<th>Test ID</th>
<th>Experience</th>
<th>Recruiter</th>
<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>
<td><%= mail_to(candidate.recruiter.email) %></td>
<td><%= candidate.interview? %></td>
2016-07-31 16:34:35 -05:00
</tr>
<% end %>
</table>
</main>