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>
|
2017-09-21 13:49:01 +00:00
|
|
|
</table>
|
|
|
|
<%=
|
|
|
|
content_tag :div, class: "bottomnav clearfix" do
|
|
|
|
content_tag :div, paginate(@applications), class: "pagination pagination-centered"
|
|
|
|
end
|
|
|
|
%>
|