anchor.diff:      }
     }
   
  -
     $(document).ready(function(){
       var firstInput = $('#repository_is_diff_email');
       SecondInpuDependsOnFirstClickHandler.call(firstInput);
  
positive.code:       SecondInpuDependsOnFirstClickHandler
      );
    });
  </script>
  
  <p>
    <%= label_tag('repository_is_diff_email', l(:field_mail_notification)) %>
    <%= check_box(:repository, :is_diff_email) %><br />
    <em><%= l(:text_diff_email_setting) %></em>
  </p>
  <p>
    <%= check_box(:repository, :is_diff_email_attached) %><br />
    <em><%= l(:text_diff_email_attached) %></em>
  </p>
  
negative.code: <%= javascript_tag do %>
  
    function SecondInpuDependsOnFirstClickHandler(event){
      if ($(this).is(':checked')) {
  