anchor.diff:    </table>
   <% } %>      
   
  -<% if( (request.isUserInRole(Authentication.ROLE_PROVISION)) || (request.isUserInRole(Authentication.ADMIN_ROLE)) ) { %>
  +<% if( isAuthorizedUser ) { %>
   <form action="asset/modifyAsset" method="post">
     <input type="hidden" name="node" value="<%=nodeId%>" />
     <input type="hidden" name="isnew" value="<%=isNew%>" />
  
positive.code:           </tr>
            <tr>
              <td>Name</td>
              <td><%=getTextField(request, "text", "vendor", asset.getVendor(), "20", "64")%></td>
              <td>Phone</td>
              <td><%=getTextField(request, "text", "vendorphone", asset.getVendorPhone(), "20", "64")%></td>
              <td>Fax</td>
  
negative.code:             <% } %>
            </tr>
          </table>
        <%if(isAuthorizedUser) { %>
        </form>
  
        <% } %>
        
        <%!      	
        	private String getTextField(HttpServletRequest request, String type, String name, String value, String size, String maxLength){
  	    	  if(request.isUserInRole(Authentication.ROLE_PROVISION) || request.isUserInRole(Authentication.ADMIN_ROLE) ){
  	    		  return String.format("<input type=\"%s\" name=\"%s\" value=\"%s\" size=\"%s\" maxlength=\"%s\"/>", type, name, value, size, maxLength);
  	    	  }else{
  	    	  	return String.format("<p>%s</p>", value);
  