international_recruit/app/views/admin/international_recruits/index.html.erb

20 lines
573 B
Plaintext
Raw Normal View History

2017-09-21 12:53:58 +00:00
<table class="table main-list">
<thead>
<tr class="sort-header">
<% @table_fields.each do |f| %>
<%= thead(f) %>
<% end %>
</tr>
</thead>
<tbody>
<% @applications.each do |application| %>
<tr>
<td><%= application.get_member.name rescue "" %></td>
<td><%= application.created_at.strftime("%Y-%m-%d") %></td>
<td>
<a class="btn btn-danger" href="<%= admin_international_recruit_path(application) %>" data-method="delete" data-confirm="Are you sure?">Delete</a>
</td>
</tr>
<% end %>
</tbody>
</table>