<% @courses.each do |course| %>

<%= "#{course.subject} #{course.course_number}" %>

<%= course.title %>. <%= course.credits %> credits.

<%= course.description %>

<% end %>

Your Schedule

    <% @cart.each do |section| %>
  • <%= "#{section.name}" %>: <%= section.title %> <%= section.location %>
    <%= section.instructor.name %> <%= "#{section.days}, #{section.start_time}-#{section.end_time}" %>
  • <% end %>