anchor.diff:    <% end %>
    
   
  -
  -	Assignments:
  +  <% if @assignments_hash.length > 0 %>
  +	  <h3>Assignments:</h3>
  +  <% end %>
   
   	<% @assignments_hash.keys.each do |category| %>
   		<div class="assignment-category">
  
positive.code: 					<%= link_to assignment.name, teacher_class_assignment_path(current_user, @course_section, assignment) %> (<%= assignment.points %> points)
  					<% if assignment.date_assigned %>
  						<ul>
  						<li><%= assignment.date_assigned.strftime("Assigned on %m/%d/%Y at %I:%M%p") %></li>
  						</ul>
  					<% end %>
  					<% if assignment.date_due %>
  						<ul>
  						<li><%= assignment.date_due.strftime("Due on %m/%d/%Y at %I:%M%p") %></li>
  						</ul>
  					<% end %>
  				<%= link_to "edit", edit_teacher_class_assignment_path(current_user, @course_section, assignment) %> | 
  
negative.code: 
  
  	
    <% if @course_section.students.length > 0 %>
  
      <h4>Create a pair of work buddies</h4>
      <%= form_for @buddyship, url: teacher_class_buddyships_path(current_user, @course_section), method: :post do |f| %>
        <%= f.collection_select(:student_id, @course_section.students, :id, :full_name, prompt: true) %>
        <%= f.collection_select(:buddy_id, @course_section.students, :id, :full_name, prompt: true) %>
        <%= f.hidden_field :course_section_id, value: @course_section.id %>
        <%= f.submit "Go", class: "submit" %>
      <% end %>
  
      <h4>Create a pair of work enemies</h4>
      <%= form_for @enemyship, url: teacher_class_enemyships_path(current_user, @course_section), method: :post do |f| %>
        <%= f.collection_select(:student_id, @course_section.students, :id, :full_name, prompt: true) %>
        <%= f.collection_select(:enemy_id, @course_section.students, :id, :full_name, prompt: true) %>
        <%= f.hidden_field :course_section_id, value: @course_section.id %>
        <%= f.submit "Go", class: "submit" %>
      <% end %>
  
      
  
      <h4>Generate Work Groups:</h4>
  
  
      <%= form_tag teacher_class_groups_path(params[:teacher_id], @course_section.id), method: :get do %>
        <%= number_field_tag :group_size, nil, in: 1..@course_section.students.count %>
        <%= submit_tag "Generate Groups" %>
      <% end %>
  
    <% end %>
     
    <p><%= link_to 'Back', teacher_path(@course_section.teacher) %></p>
  
  
  <% else %>
    
    <h2>This is not your class.</h2>
    
  <% end %>