skill-assessment-app/app/views/recruiter/index.html.erb
2016-07-31 12:33:09 -05:00

24 lines
564 B
Plaintext

<main class="summary_tpl">
<h1>Candidates</h1>
<%= link_to "Create New Candidate", new_candidate_path, {class: 'button'} %>
<table cellspacing="0" cellpadding="0">
<tr>
<th>Candidate</th>
<th>Email</th>
<th>Experience</th>
<th>Status</th>
</tr>
<% @candidates.each do |candidate| %>
<tr>
<td><%= candidate.name %></td>
<td><%= mail_to(candidate.email) %></td>
<td><%= candidate.experience %> years</td>
<td><%= candidate.status %></td>
</tr>
<% end %>
</table>
</main>