anchor.diff:    <p id="allow_remark_requests">
       <%= raw( f.check_box(:allow_remarks,
                       {:id => "allow_remarks",
  -                    :onchange => "toggle_remark_requests($F('allow_remarks'))"},
  +                    :onchange => "toggle_remark_requests($F('allow_remarks'));
  +                                  set_onbeforeunload(true);"},
                       true,
                       false) ) %>
       <%= raw( f.label("allow_remarks",
  
positive.code:    <%= t(:iso_due_date_format_example) %><br />
  
     <%= raw( f.label :repository_folder, t(:repository_folder) ) %>
     /<%= raw( f.text_field :repository_folder ) %><br />
     <%= raw( f.label :allow_web_submits, t("assignment.allow_web_submits") ) %>&nbsp;&nbsp;
     <%= raw( f.radio_button :allow_web_submits,
                        true,
                        :checked => @assignment.allow_web_submits ) %>
     <%= raw( f.label :allow_web_submits_true,
                 t("answer_yes"), :class => "radio_label" ) %>&nbsp;&nbsp;
     <%= raw( f.radio_button :allow_web_submits,
                        false,
                        :checked => !@assignment.allow_web_submits ) %>
     <%= raw( f.label :allow_web_submits_false,
                 t("answer_no"),
                 :class => "radio_label" )  %><br />
  
negative.code:                 :class => "inline_label") %>
      <%= raw( f.text_field :group_min,
                       :size => 5,
                       :maxlength => 3,
                       :onchange => "set_onbeforeunload(true);" ) %>
      <%= raw( f.label :group_max,
                  t("assignment.group.limit_max"),
                  :class => "inline_label") %>
      <%= raw( f.text_field :group_max,
                       :size => 5,
                       :maxlength => 3,
                       :onchange => "set_onbeforeunload(true);" ) %>
    </p>
  
    <p id="group_name_autogenerated_style" class="disable">
      <%= raw( f.check_box :group_name_autogenerated ) %>
      <%= raw( f.label :group_name_autogenerated,
                  t("assignment.group.name_autogenerated"),
                  :class => "checkbox_label",
                  :onchange => "set_onbeforeunload(true);" ) %>
                  
    </p>
  </div>
    </fieldset>
  