Course Members
<% for course_participation in @course.course_participations %> <% if current_user.is_administrator_at?(@course.school) || current_user.admin? %> <% end %> <% end %>
<%= render course_participation.user %> <%= course_participation.role.to_s.capitalize %> <%= form_for course_participation, html: { method: :delete } do |f| %> <%= f.submit "Remove", class: "btn btn-danger" %> <% end %>