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

25 lines
783 B
Plaintext
Raw Normal View History

<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>
</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>
</div>
</div>