anchor.diff:        </thead>
         <tbody>
           <% 
  -           @course.score_summary.each do |info|
  +           score_summary.each do |info|
              total = info[:max] + info[:unsub] + info[:pending]
              %>
             <% if info[:dropped] %>
  
positive.code: <% @page_title = "#{@course.name} / Assignments" %>
  
  
  <% if @course && (@course.registered_by?(current_user) || current_user.site_admin?) %>
  
  
negative.code:   <div class="panel-heading">
      <div class="panel-title" data-toggle="collapse" data-target="#students-table">
        Students
        <span id="all-students-count" style="display: none;">(<%= score_summary.count %>)</span>
        <span id="current-students-count">(<%= score_summary.keep_if{|i| !i[:dropped]}.count %>)</span>
        <div id="toggle-dropped" class="pull-right btn-xs btn btn-default">Show dropped students</div>
        <script>
          $("#toggle-dropped").on("click", function(e) {
  