<commit_before><%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="chrome" tagdir="/WEB-INF/tags/chrome" %>
<%@ taglib prefix="csmauthz" uri="http://csm.ncicb.nci.nih.gov/authz" %>

<html>
<head>
    <tags:stylesheetLink name="tabbedflow"/>
    <tags:includeScriptaculous/>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <style type="text/css">
        /* Override default lable length */
        div.row div.label2 {
            width: 16em;
        }

        div.row div.value2 {
            margin-left: 17em;
        }

        div.content {
            padding: 5px 15px;
        }
    </style>

    <tags:dwrJavascriptLink objects="createIND"/>
    <script type="text/javascript">
    Event.observe(window, "load", function() {
       if('${command.organization.name}'){
       	$('organization-input').value = '${command.organization.fullName}';
       }
  	 //initialze the auto completer field.
	 AE.createStandardAutocompleter('organization', 
     	function(autocompleter, text) {
    		createIND.matchOrganization(text, function(values) {
      	 		autocompleter.setChoices(values)
      		})
    	},
        function(organization) { 
    		 var nciInstituteCode = organization.nciInstituteCode == null ? "" : 
            							 " ( " + organization.nciInstituteCode + " ) ";
			   return organization.name + nciInstituteCode  
    	}
     );
     
    }); 

    </script>
</head>
<body>
<div class="tabpane">
<ul id="workflow-tabs" class="tabs autoclear">
    <li class="tab selected">
        <div><a href="createResearchStaff">Create Research Staff</a></div>
    </li>
    <li class="tab">
        <div><a href="searchResearchStaff">Search Research Staff</a></div>
    </li>
</ul>
<br/>

<tags:tabForm tab="${tab}" flow="${flow}" formName="researchStaffForm">
<jsp:attribute name="repeatingFields">
	<input type="hidden" name="_action" value="">
    <input type="hidden" name="_selected" value="">
	<input type="hidden" name="_finish" value="true"/>

 <chrome:division title="Site">
	<c:forEach items="${fieldGroups.site.fields}" var="field">
	  <csmauthz:accesscontrol domainObject="${organization}"
                        hasPrivileges="ACCESS" authorizationCheckName="siteAuthorizationCheck">
      <tags:renderRow field="${field}"/>
	  </csmauthz:accesscontrol>
	</c:forEach>
 </chrome:division>

 <chrome:division title="Research Staff Details">
  <div class="leftpanel">
            <c:forEach begin="0" end="3"
                       items="${fieldGroups.researchStaff.fields}" var="field">
                <tags:renderRow field="${field}"/>
            </c:forEach>
  </div>
  <div class="rightpanel">
        <td>
        <c:if test="${(empty command.id) or (command.id le 0)}">
         <c:forEach begin="4" end="6"
                       items="${fieldGroups.researchStaff.fields}" var="field">
            <tags:renderRow field="${field}"/>
        </c:forEach>
    </c:if>
    <c:if test="${!(empty command.id) and (command.id gt 0)}">
         <c:forEach begin="4" end="4"
                       items="${fieldGroups.researchStaff.fields}" var="field">
            <div class="row">
    <div class="label">
        <tags:renderLabel field="${field}"/>
    </div>
    <div class="value"><tags:renderInputs field="${field}" disabled="True"/>
</div>
            </div><commit_msg>updating jsp for div title <commit_after>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="chrome" tagdir="/WEB-INF/tags/chrome" %>
<%@ taglib prefix="csmauthz" uri="http://csm.ncicb.nci.nih.gov/authz" %>

<html>
<head>
    <tags:stylesheetLink name="tabbedflow"/>
    <tags:includeScriptaculous/>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <style type="text/css">
        /* Override default lable length */
        div.row div.label2 {
            width: 16em;
        }

        div.row div.value2 {
            margin-left: 17em;
        }

        div.content {
            padding: 5px 15px;
        }
    </style>

    <tags:dwrJavascriptLink objects="createIND"/>
    <script type="text/javascript">
    Event.observe(window, "load", function() {
       if('${command.organization.name}'){
       	$('organization-input').value = '${command.organization.fullName}';
       }
  	 //initialze the auto completer field.
	 AE.createStandardAutocompleter('organization', 
     	function(autocompleter, text) {
    		createIND.matchOrganization(text, function(values) {
      	 		autocompleter.setChoices(values)
      		})
    	},
        function(organization) { 
    		 var nciInstituteCode = organization.nciInstituteCode == null ? "" : 
            							 " ( " + organization.nciInstituteCode + " ) ";
			   return organization.name + nciInstituteCode  
    	}
     );
     
    }); 

    </script>
</head>
<body>
<div class="tabpane">
<ul id="workflow-tabs" class="tabs autoclear">
    <li class="tab selected">
        <div><a href="createResearchStaff">Create Research Staff</a></div>
    </li>
    <li class="tab">
        <div><a href="searchResearchStaff">Search Research Staff</a></div>
    </li>
</ul>
<br/>

<tags:tabForm tab="${tab}" flow="${flow}" formName="researchStaffForm">
<jsp:attribute name="repeatingFields">
	<input type="hidden" name="_action" value="">
    <input type="hidden" name="_selected" value="">
	<input type="hidden" name="_finish" value="true"/>

 <chrome:division title="Site">
	<c:forEach items="${fieldGroups.site.fields}" var="field">
	  <csmauthz:accesscontrol domainObject="${organization}"
                        hasPrivileges="ACCESS" authorizationCheckName="siteAuthorizationCheck">
      <tags:renderRow field="${field}"/>
	  </csmauthz:accesscontrol>
	</c:forEach>
 </chrome:division>

 <chrome:division title="Details">
  <div class="leftpanel">
            <c:forEach begin="0" end="3"
                       items="${fieldGroups.researchStaff.fields}" var="field">
                <tags:renderRow field="${field}"/>
            </c:forEach>
  </div>
  <div class="rightpanel">
        <td>
        <c:if test="${(empty command.id) or (command.id le 0)}">
         <c:forEach begin="4" end="6"
                       items="${fieldGroups.researchStaff.fields}" var="field">
            <tags:renderRow field="${field}"/>
        </c:forEach>
    </c:if>
    <c:if test="${!(empty command.id) and (command.id gt 0)}">
         <c:forEach begin="4" end="4"
                       items="${fieldGroups.researchStaff.fields}" var="field">
            <div class="row">
    <div class="label">
        <tags:renderLabel field="${field}"/>
    </div>
    <div class="value"><tags:renderInputs field="${field}" disabled="True"/>
</div>
            </div>
{'fraction_non_alphanumeric': 0.1809017082049846, 'fraction_numerical': 0.006160739288714646, 'mean_word_length': 2.909688013136289, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3753277', 'n_tokens_mistral': 2383, 'n_tokens_neox': 2218, 'n_words': 390}