<commit_before><%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>

<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

<%-- colspan set to 6 in PropertyRetryController.java --%>
<tr class="editformcell">
    <td valign="top" colspan="2">
        <b>Parent property</b><br/>
        <select name="ParentURI"><form:option name="ParentURI"/></select>
    </td>
    <td valign="top" colspan="2">
	    <b>Property group</b><br/>
	    <select name="GroupURI"><form:option name="GroupURI"/></select><br/>
        <i>for grouping properties on individual pages</i><br/>
	</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
	<td style="vertical-align:top;" valign="top" colspan="1">
		<b>Ontology</b><br/><br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
				<select name="Namespace" disabled="disabled"><form:option name="Namespace"/></select><br/>
        	    <i>Edit via "change URI" on previous screen</i>
			</c:when>
			<c:otherwise>
				<br/><select name="Namespace"><form:option name="Namespace"/></select>
			</c:otherwise>
		</c:choose>
	</td>
	<td style="vertical-align:top;" valign="top" colspan="2">
		<b>Internal name*</b><br/>
	    (RDF local name)<br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
        	    <input type="text" class="fullWidthInput" disabled="disabled" name="LocalName" value="<form:value name='LocalName'/>" /><br/>
        		<i>Edit via "change URI"</i>
        	</c:when>
        	<c:otherwise>
        	    <input type="text" class="fullWidthInput" name="LocalName" value="<form:value name="LocalName"/>" /><br/>
        	        <i>must be valid XML without spaces; by</i><br/>
        	        <i>convention use camel case with no initial capital</i><br/>
			</c:otherwise>
		</c:choose>
        <c:set var="LocalNameError"><form:error name="LocalName"/></c:set>
        <c:if test="${!empty LocalNameError}">
            <span class="notice"><c:out value="${LocalNameError}"/></span>
        </c:if>
	</td>
    <td style="vertical-align:top;" valign="top" colspan="2">
        <b>Label for public display</b><br/><br/>
        <input type="text" class="fullWidthInput" name="DomainPublic" value="<form:value name="DomainPublic"/>" maxlength="80" />
        <c:set var="DomainPublicError"><form:error name="DomainPublic"/></c:set>
        <c:if test="${!empty DomainPublicError}">
            <span class="notice"><c:out value="${DomainPublicError}"/></span>
        </c:if>
    </td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td style="vertical-align:top;" valign="top" colspan="2">
        <b>Inverse property ontology</b><br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
				<select name="NamespaceInverse" disabled="disabled"><form:option name="NamespaceInverse"/></select><br/>
        	    <i>Edit via "change URI"</i><br/>
			</c:when>
			<c:otherwise>
				<select name="NamespaceInverse"><form:option name="NamespaceInverse"/></select>
			</c:otherwise>
		</c:choose>
	</td>
    <td style="vertical-align:top;" valign="top" colspan="1">
		<b>Inverse internal name</b><br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
        	    <input type="text" class="fullWidthInput" disabled="disabled" name="LocalNameInverse" value="<form:value name="LocalNameInverse"/>" /><br/>
        	    <i>Edit via "change URI"</i><br/>
			</c:when>
			<c:otherwise>
			    <input type="text" class="fullWidthInput" name="LocalNameInverse" value="<form:value name="LocalNameInverse"/>" /><br/>
				<i>must be a valid XML name without spaces; by</i><br/>
				<i>convention use camel case with no initial capital</i><br/>
			</c:otherwise>
		</c:choose>
        <c:set var="LocalNameInverseError"><form:error name="LocalNameInverse"/></c:set>
        <c:if test="${!empty LocalNameInverseError}">
            <span class="notice"><c:out value="${LocalNameInverseError}"/></span>
        </c:if>
	</td>
    <td valign="top" style="vertical-align:top;" colspan="1">
        <b>Inverse label</b><br/>
        <input type="text" class="fullWidthInput" name="RangePublic" value="<form:value name="RangePublic"/>" maxlength="80" /><br/>
        <br/> 
        <c:set var="RangePublicError"><form:error name="RangePublic"/></c:set>
        <c:if test="${!empty RangePublicError}">
            <span class="notice"><c:out value="${RangePublicError}"/></span>
        </c:if>
    </td>
    <td>&nbsp;</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td valign="top" colspan="2">
        <b>Domain class</b><br />
        <select name="DomainVClassURI"><form:option name="DomainVClassURI"/></select>
    </td>
    <td valign="top" colspan="2">
        <b>Range class</b><br />
        <select name="RangeVClassURI" ><form:option name="RangeVClassURI"/></select>
    </td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td valign="top" colspan="2">
        <b>Make this property be:</b><br/><br/>
        <c:choose>
            <c:when test="${transitive}">
                <input name="Transitive" type="checkbox" value="TRUE" checked="checked"/>transitive
            </c:when>
            <c:otherwise>
                <input name="Transitive" type="checkbox" value="TRUE"/>transitive
            </c:otherwise>
        </c:choose>
        <span style="margin-left:170px">&nbsp;</span>   
            <c:choose>
               <c:when test="${symmetric}">
                   <input name="Symmetric" type="checkbox" value="TRUE" checked="checked"/> symmetric
               </c:when>
               <c:otherwise>
                   <input name="Symmetric" type="checkbox" value="TRUE"/> symmetric
               </c:otherwise>
           </c:choose>
    </td>
    <td valign="top" colspan="3">
        <br/><br/>
        <c:choose>
            <c:when test="${functional}">
                <input name="Functional" type="checkbox" value="TRUE" checked="checked"/> functional
            </c:when>
            <c:otherwise>
                <input name="Functional" type="checkbox" value="TRUE"/> functional
            </c:otherwise>
        </c:choose>
        <span style="margin-left:150px">&nbsp;</span> 
        <c:choose>
            <c:when test="${inverseFunctional}">
                <input name="InverseFunctional" type="checkbox" value="TRUE" checked="checked"/> inverse functional
            </c:when>
            <c:otherwise>
                <input name="InverseFunctional" type="checkbox" value="TRUE"/> inverse functional
            </c:otherwise>
        </c:choose>
    </td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
	<td valign="top" colspan="5">
		<b>Public Description</b> for front-end users, as it will appear on editing forms<br/>
	    <textarea class="matchingInput" name="PublicDescription"><form:value name="PublicDescription"/></textarea>
        <c:set var="PublicDescriptionError"><form:error name="PublicDescription"/></c:set>
        <c:if test="${!empty PublicDescriptionError}">
            <span class="notice"><c:out value="${PublicDescriptionError}"/></span>
        </c:if>
	</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td valign="top" colspan="5">
        <b>Example</b> for ontology editors<br/>
        <input type="text" class="fullWidthInput" name="Example" value="<form:value name="Example"/>" />
            <c:set var="ExampleError"><form:error name="Example"/></c:set>
            <c:if test="${!empty ExampleError}">
                <span class="notice"><c:out value="${ExampleError}"/></span>
            </c:if><commit_msg>adusted font style and size for text areas on property edit page<commit_after><%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>

<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

<%-- colspan set to 6 in PropertyRetryController.java --%>
<tr class="editformcell">
    <td valign="top" colspan="2">
        <b>Parent property</b><br/>
        <select name="ParentURI"><form:option name="ParentURI"/></select>
    </td>
    <td valign="top" colspan="2">
	    <b>Property group</b><br/>
	    <select name="GroupURI"><form:option name="GroupURI"/></select><br/>
        <i>for grouping properties on individual pages</i><br/>
	</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
	<td style="vertical-align:top;" valign="top" colspan="1">
		<b>Ontology</b><br/><br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
				<select name="Namespace" disabled="disabled"><form:option name="Namespace"/></select><br/>
        	    <i>Edit via "change URI" on previous screen</i>
			</c:when>
			<c:otherwise>
				<br/><select name="Namespace"><form:option name="Namespace"/></select>
			</c:otherwise>
		</c:choose>
	</td>
	<td style="vertical-align:top;" valign="top" colspan="2">
		<b>Internal name*</b><br/>
	    (RDF local name)<br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
        	    <input type="text" class="fullWidthInput" disabled="disabled" name="LocalName" value="<form:value name='LocalName'/>" /><br/>
        		<i>Edit via "change URI"</i>
        	</c:when>
        	<c:otherwise>
        	    <input type="text" class="fullWidthInput" name="LocalName" value="<form:value name="LocalName"/>" /><br/>
        	        <i>must be valid XML without spaces; by</i><br/>
        	        <i>convention use camel case with no initial capital</i><br/>
			</c:otherwise>
		</c:choose>
        <c:set var="LocalNameError"><form:error name="LocalName"/></c:set>
        <c:if test="${!empty LocalNameError}">
            <span class="notice"><c:out value="${LocalNameError}"/></span>
        </c:if>
	</td>
    <td style="vertical-align:top;" valign="top" colspan="2">
        <b>Label for public display</b><br/><br/>
        <input type="text" class="fullWidthInput" name="DomainPublic" value="<form:value name="DomainPublic"/>" maxlength="80" />
        <c:set var="DomainPublicError"><form:error name="DomainPublic"/></c:set>
        <c:if test="${!empty DomainPublicError}">
            <span class="notice"><c:out value="${DomainPublicError}"/></span>
        </c:if>
    </td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td style="vertical-align:top;" valign="top" colspan="2">
        <b>Inverse property ontology</b><br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
				<select name="NamespaceInverse" disabled="disabled"><form:option name="NamespaceInverse"/></select><br/>
        	    <i>Edit via "change URI"</i><br/>
			</c:when>
			<c:otherwise>
				<select name="NamespaceInverse"><form:option name="NamespaceInverse"/></select>
			</c:otherwise>
		</c:choose>
	</td>
    <td style="vertical-align:top;" valign="top" colspan="1">
		<b>Inverse internal name</b><br/>
        <c:choose>
        	<c:when test="${_action eq 'update'}">
        	    <input type="text" class="fullWidthInput" disabled="disabled" name="LocalNameInverse" value="<form:value name="LocalNameInverse"/>" /><br/>
        	    <i>Edit via "change URI"</i><br/>
			</c:when>
			<c:otherwise>
			    <input type="text" class="fullWidthInput" name="LocalNameInverse" value="<form:value name="LocalNameInverse"/>" /><br/>
				<i>must be a valid XML name without spaces; by</i><br/>
				<i>convention use camel case with no initial capital</i><br/>
			</c:otherwise>
		</c:choose>
        <c:set var="LocalNameInverseError"><form:error name="LocalNameInverse"/></c:set>
        <c:if test="${!empty LocalNameInverseError}">
            <span class="notice"><c:out value="${LocalNameInverseError}"/></span>
        </c:if>
	</td>
    <td valign="top" style="vertical-align:top;" colspan="1">
        <b>Inverse label</b><br/>
        <input type="text" class="fullWidthInput" name="RangePublic" value="<form:value name="RangePublic"/>" maxlength="80" /><br/>
        <br/> 
        <c:set var="RangePublicError"><form:error name="RangePublic"/></c:set>
        <c:if test="${!empty RangePublicError}">
            <span class="notice"><c:out value="${RangePublicError}"/></span>
        </c:if>
    </td>
    <td>&nbsp;</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td valign="top" colspan="2">
        <b>Domain class</b><br />
        <select name="DomainVClassURI"><form:option name="DomainVClassURI"/></select>
    </td>
    <td valign="top" colspan="2">
        <b>Range class</b><br />
        <select name="RangeVClassURI" ><form:option name="RangeVClassURI"/></select>
    </td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td valign="top" colspan="2">
        <b>Make this property be:</b><br/><br/>
        <c:choose>
            <c:when test="${transitive}">
                <input name="Transitive" type="checkbox" value="TRUE" checked="checked"/>transitive
            </c:when>
            <c:otherwise>
                <input name="Transitive" type="checkbox" value="TRUE"/>transitive
            </c:otherwise>
        </c:choose>
        <span class="checkBoxSpacer">&nbsp;</span>   
            <c:choose>
               <c:when test="${symmetric}">
                   <input name="Symmetric" type="checkbox" value="TRUE" checked="checked"/> symmetric
               </c:when>
               <c:otherwise>
                   <input name="Symmetric" type="checkbox" value="TRUE"/> symmetric
               </c:otherwise>
           </c:choose>
    </td>
    <td valign="top" colspan="3">
        <br/><br/>
        <c:choose>
            <c:when test="${functional}">
                <input name="Functional" type="checkbox" value="TRUE" checked="checked"/> functional
            </c:when>
            <c:otherwise>
                <input name="Functional" type="checkbox" value="TRUE"/> functional
            </c:otherwise>
        </c:choose>
        <span class="checkBoxSpacer">&nbsp;</span> 
        <c:choose>
            <c:when test="${inverseFunctional}">
                <input name="InverseFunctional" type="checkbox" value="TRUE" checked="checked"/> inverse functional
            </c:when>
            <c:otherwise>
                <input name="InverseFunctional" type="checkbox" value="TRUE"/> inverse functional
            </c:otherwise>
        </c:choose>
    </td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
	<td valign="top" colspan="5">
		<b>Public Description</b> for front-end users, as it will appear on editing forms<br/>
	    <textarea class="matchingInput" name="PublicDescription"><form:value name="PublicDescription"/></textarea>
        <c:set var="PublicDescriptionError"><form:error name="PublicDescription"/></c:set>
        <c:if test="${!empty PublicDescriptionError}">
            <span class="notice"><c:out value="${PublicDescriptionError}"/></span>
        </c:if>
	</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
    <td valign="top" colspan="5">
        <b>Example</b> for ontology editors<br/>
        <input type="text" class="fullWidthInput" name="Example" value="<form:value name="Example"/>" />
            <c:set var="ExampleError"><form:error name="Example"/></c:set>
            <c:if test="${!empty ExampleError}">
                <span class="notice"><c:out value="${ExampleError}"/></span>
            </c:if>
{'fraction_non_alphanumeric': 0.2041332237881565, 'fraction_numerical': 0.0035391518675346014, 'mean_word_length': 3.131592689295039, 'pattern_counts': {'":': 0, '<': 613, '<?xml version=': 0, '>': 613, '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': '2647856', 'n_tokens_mistral': 5284, 'n_tokens_neox': 4953, 'n_words': 978}