<commit_before><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<bean:define id="thisForm" name="${param.formName}"/>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="topBorderOnly" summary="">
	<tr>
	<tr class="topBorder">
		<td class="formTitle" colspan="4">
			<div align="justify">
				Summary
			</div>
		</td>
	</tr>
	<tr>
		<td class="leftLabel">
			<strong>Characterization Source* </strong>
		</td>
		<td class="label">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<html:select property="achar.characterizationSource">
						<html:options name="characterizationSources" />
					</html:select>
				</c:when>
				<c:otherwise>
						${thisForm.map.achar.characterizationSource}&nbsp;
					</c:otherwise>
			</c:choose>
		</td>
		<td class="label">
			<strong>View Title*</strong><br>
			<em>(text will be truncated after 20 characters)</em>
		</td>
		<td class="rightLabel">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<html:text property="achar.viewTitle" size="30"/>
				</c:when>
				<c:otherwise>
						${thisForm.map.achar.viewTitle}&nbsp;
					</c:otherwise>
			</c:choose>
		</td>
	</tr>
	<tr>
		<td class="leftLabel">
			<strong>Protocol Name </strong>
		</td>
		<td class="label">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<!-- html:text property="achar.characterizationProtocol.name" / -->
					<html:select styleId="protocolName" property="achar.protocolFileBean.protocolBean.name"
						onchange="javascript:filterProtocolVersions();">
						<html:option value=""></html:option>
						<%-- 
						<html:options name="AllProtocolNameByType" />
						--%>
						<html:optionsCollection name="AllProtocolNameByType" label="name" value="id"/>
					</html:select>
				</c:when>
				<c:otherwise>
						${thisForm.map.achar.protocolFileBean.protocolBean.name}&nbsp;
				</c:otherwise>
			</c:choose>
		</td>
		<td class="label">
			<strong>Protocol Version</strong>
		</td>
		<%-- html:options name="AllProtocolNameByType" / --%>
		<td class="rightLabel">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<html:select styleId="protocolVersion" property="achar.protocolFileBean.version">
						<option/>
					</html:select>
				</c:when>
				<c:otherwise>
				<html:text property="achar.protocolFileBean.version" />
						${thisForm.map.achar.protocolFileBean.version}&nbsp;
				</c:otherwise>
			</c:choose>
		</td>
	</tr><commit_msg>Changed protocol name to id<commit_after><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<bean:define id="thisForm" name="${param.formName}"/>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="topBorderOnly" summary="">
	<tr>
	<tr class="topBorder">
		<td class="formTitle" colspan="4">
			<div align="justify">
				Summary
			</div>
		</td>
	</tr>
	<tr>
		<td class="leftLabel">
			<strong>Characterization Source* </strong>
		</td>
		<td class="label">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<html:select property="achar.characterizationSource">
						<html:options name="characterizationSources" />
					</html:select>
				</c:when>
				<c:otherwise>
						${thisForm.map.achar.characterizationSource}&nbsp;
					</c:otherwise>
			</c:choose>
		</td>
		<td class="label">
			<strong>View Title*</strong><br>
			<em>(text will be truncated after 20 characters)</em>
		</td>
		<td class="rightLabel">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<html:text property="achar.viewTitle" size="30"/>
				</c:when>
				<c:otherwise>
						${thisForm.map.achar.viewTitle}&nbsp;
					</c:otherwise>
			</c:choose>
		</td>
	</tr>
	<tr>
		<td class="leftLabel">
			<strong>Protocol Name </strong>
		</td>
		<td class="label">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<!-- html:text property="achar.characterizationProtocol.name" / -->
					<html:select styleId="protocolName" property="achar.protocolFileBean.protocolBean.id"
						onchange="javascript:filterProtocolVersions();">
						<html:option value=""></html:option>
						<%-- 
						<html:options name="AllProtocolNameByType" />
						--%>
						<html:optionsCollection name="AllProtocolNameByType" label="name" value="id"/>
					</html:select>
				</c:when>
				<c:otherwise>
						${thisForm.map.achar.protocolFileBean.protocolBean.name}&nbsp;
				</c:otherwise>
			</c:choose>
		</td>
		<td class="label">
			<strong>Protocol Version</strong>
		</td>
		<%-- html:options name="AllProtocolNameByType" / --%>
		<td class="rightLabel">
			<c:choose>
				<c:when test="${canUserSubmit eq 'true'}">
					<html:select styleId="protocolVersion" property="achar.protocolFileBean.version">
						<option/>
					</html:select>
				</c:when>
				<c:otherwise>
				<html:text property="achar.protocolFileBean.version" />
						${thisForm.map.achar.protocolFileBean.version}&nbsp;
				</c:otherwise>
			</c:choose>
		</td>
	</tr>
{'fraction_non_alphanumeric': 0.20148423005565863, 'fraction_numerical': 0.004081632653061225, 'mean_word_length': 3.869918699186992, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 173, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4036126', 'n_tokens_mistral': 2330, 'n_tokens_neox': 1877, 'n_words': 309}