anchor.diff:          jQuery('#assignment_numbers_of_quiz_field').attr('hidden', true);
         }
       }
  +
  +    function adjustGradesChanged(){
  +      if (jQuery('#grades_adjustment').is(':checked')){
  +        jQuery('#assignment_grades_adjustment_table').removeAttr('hidden');
  +        <%= params[:grades_adjustment_checked] = true %>
  +      } else {
  +        jQuery('#assignment_grades_adjustment_table').attr('hidden', true);
  +        <%= params[:grades_adjustment_checked] = false %>
  +      }
  +    }
  +
     </script>
  
positive.code:       <%= label_tag('assignment_form[assignment][show_teammate_reviews]', 'Show teammate reviews?') %>
      </td>
     </tr>
     <tr>
      <td style='padding:5px' id='assignment_require_quiz_field'>
        <input name="assignment_form[assignment][require_quiz]" type="hidden" value="false"/>
        <%= check_box_tag('assignment_form[assignment][require_quiz]', 'true', @assignment_form.assignment.require_quiz, {:onChange => 'hasQuizChanged()'}) %>
        <%= label_tag('assignment_form[assignment][require_quiz]', 'Has quiz?') %>
      </td>
  
      <td style='padding:5px' id='assignment_numbers_of_quiz_field' <%= 'hidden' unless @assignment_form.assignment.require_quiz %>>
        <%= label_tag('assignment_form[assignment][num_quiz_questions]', 'Number of Quiz questions:') %>
        <%= text_field_tag('assignment_form[assignment][num_quiz_questions]', @assignment_form.assignment.num_quiz_questions, { :style => 'width:20px'}) %>
      </td>
    </tr>
  
    <!--"available to student?" should be the last checkbox-->
    <tr>
  
negative.code: 
    </tr>
  
    <!--Teammate reviews fields-->
    <tr>
      <td style='padding:5px' id='assignment_show_teammate_reviews'>
        <input name="assignment_form[assignment][show_teammate_reviews]" type="hidden" value="false"/>
  