2016-07-31 09:56:02 -05:00
|
|
|
<main class="summary_tpl">
|
|
|
|
<h1>Candidates</h1>
|
|
|
|
|
2016-07-31 16:34:35 -05:00
|
|
|
<%= link_to(new_candidate_path, { class: 'secondary-btn' }) do %>
|
|
|
|
<button>Create New Candidate</button>
|
|
|
|
<% end %>
|
2016-07-31 09:56:02 -05:00
|
|
|
|
|
|
|
<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>
|