Skip to content
Go to file
Cannot retrieve contributors at this time
31 lines (26 sloc) 732 Bytes
<p id="notice"><%= notice %></p>
<th>Course name</th>
<th>Course number</th>
<th colspan="3"></th>
<% @courses.each do |course| %>
<td><%= course.course_name %></td>
<td><%= course.course_number %></td>
<td><%= {|k|}.join(', ') %></td>
<td><%= link_to 'Show', course %></td>
<td><%= link_to 'Edit', edit_course_path(course) %></td>
<td><%= link_to 'Destroy', course, method: :delete, data: { confirm: 'Are you sure?' } %></td>
<% end %>
<%= link_to 'New Course', new_course_path %>
You can’t perform that action at this time.