recruitment/app/views/admin/recruitments/applications.html.erb

19 lines
703 B
Plaintext
Raw Normal View History

2018-01-17 18:22:24 +00:00
<h3>Applications for <%= @job.job_title %> ~ <i><%= @job.employer_profile.company_name %></i></h3>
<table class="table main-list">
<thead>
<tr class="sort-header">
<% @table_fields.each do |f| %>
<%= thead(f) %>
<% end %>
</tr>
</thead>
<tbody>
<% @applications.each do |app| %>
<tr>
<td><a href="/<%= I18n.locale.to_s %>/candidates/<%= app.employee_profile.recruit_profile.to_param %>" target="_blank"><%= app.employee_profile.recruit_profile.name %></a></td>
<td><%= app.created_at.strftime("%Y/%m/%d") %></td>
</tr>
<% end %>
</tbody>
</table>
<a href="#" onclick="window.history.back(); return false;" class="btn btn-warning"><%= t(:back) %></a>