2017-09-21 13:49:01 +00:00
|
|
|
<table class="table main-list">
|
|
|
|
<thead>
|
|
|
|
<tr class="sort-header">
|
|
|
|
<% @table_fields.each do |f| %>
|
|
|
|
<%= thead(f) %>
|
|
|
|
<% end %>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @courses.each do |course| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= course.course_name %></td>
|
2017-09-21 16:13:22 +00:00
|
|
|
<td>
|
|
|
|
<a href="<%= delete_course_admin_international_recruit_path(course) %>" class="btn btn-danger" data-method="delete" data-confirm="Are you sure?">Delete</a>
|
|
|
|
<a href="<%= edit_course_admin_international_recruit_path(course) %>" class="btn btn-warning">Edit</a>
|
|
|
|
</td>
|
2017-09-21 13:49:01 +00:00
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="bottomnav clearfix">
|
|
|
|
<div class="pull-right">
|
2017-09-21 16:13:22 +00:00
|
|
|
<a href="<%= add_course_admin_international_recruits_path %>" class="btn btn-primary" id="add-course">Add</a>
|
2017-09-21 13:49:01 +00:00
|
|
|
</div>
|
|
|
|
</div>
|