Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##view##
- <% for course in @courses %>
- <div id = "<%= cycle("stripe", "nostripe")%>">
- <tr>
- <td><%=h course.description %></td>
- <td><%= link_to 'Show', course %></td>
- <td><%= link_to 'Edit', edit_course_path(course) %></td>
- <td><%= link_to 'Destroy', course, :confirm => 'Are you sure?', :method => :delete %></td>
- </tr>
- </div>
- <% end %>
Add Comment
Please, Sign In to add comment