anchor.diff:      editConfig.setEntityToReturnTo("?grant");
       
       String subjectUri = vreq.getParameter("subjectUri");
  -    String predicateUri = vreq.getParameter("predicateUri");    
  -    String subjectName = ((Individual) request.getAttribute("subject")).getName();
  +    String predicateUri = vreq.getParameter("predicateUri");        
     
       List<String> customJs = new ArrayList<String>(Arrays.asList(JavaScript.JQUERY_UI.path(),
                                                                   JavaScript.UTILS.path(),
  
positive.code: <c:set var="rdf" value="<%= VitroVocabulary.RDF %>" />
  <c:set var="label" value="${rdfs}label" />
  
  
  <%  // set role type based on predicate 
  if ( ((String)request.getAttribute("predicateUri")).endsWith("hasPrincipalInvestigatorRole") ) { %>
   	<v:jsonset var="roleType">${vivoOnt}#PrincipalInvestigatorRole</v:jsonset>
   <% }else{ %>
   	<v:jsonset var="roleType">${vivoOnt}#hasCo-PrincipalInvestigatorRole</v:jsonset>
   <% } %>
   
  <v:jsonset var="n3ForGrantRole">
      @prefix core: <${vivoCore}> .
      @prefix rdf: <${rdf}> .
      
  	?person  ?rolePredicate ?role.
  	?role rdf:type ?roleType ;
      	  core:relatedRole ?grant .               
  
negative.code: }
  </script>
  
  <h2>${formHeading}</h2>
  
  <form id="addGrantRoleToPerson" action="<c:url value="/edit/processRdfForm2.jsp"/>" >
          
      <v:input type="text" id="label" name="grantLabel" label="Grant Name ${requiredHint}" cssClass="acSelector" size="50" />
  
      <div class="acSelection">
          <p class="inline"><label></label><span class="acSelectionInfo"></span></p>
          <%-- bdc34: for some odd reason id and name should not be grant in this input element. --%>
          <input type="hidden" class="acReceiver" value="" /> <!-- Field value populated by JavaScript -->
      </div>
              
      <p class="submit"><v:input type="submit" id="submit" value="${submitButtonLabel}" cancel="true" /></p>
      
      <p id="requiredLegend" class="requiredHint">* required fields</p>
  </form>
  