skill-assessment-app/app/views/recruiter/index.html.erb
Mark Moser 30971357af updates progress bar accuracy
The progress bar now accounts for live coders that have opted for
"finish later"

Address part of issue #63
2016-08-12 12:44:19 -05:00

32 lines
844 B
Plaintext

<main class="summary_tpl">
<h1>Candidates</h1>
<%= link_to(new_candidate_path, { class: 'secondary-btn' }) do %>
<button>Create New Candidate</button>
<% end %>
<table cellspacing="0" cellpadding="0">
<tr>
<th>Candidate</th>
<th>Test ID</th>
<th>Email</th>
<th>Experience</th>
<th>Progress</th>
<th>Completed</th>
<th>Reminded</th>
</tr>
<% @candidates.each do |candidate| %>
<tr>
<td><%= candidate.name %></td>
<td><%= candidate.test_hash %></td>
<td><%= mail_to(candidate.email) %></td>
<td><%= candidate.experience %> years</td>
<td><%= candidate.status %></td>
<td><%= candidate.completed ? "Submitted" : "" %></td>
<td><%= candidate.reminded ? "Yes" : "" %></td>
</tr>
<% end %>
</table>
</main>