<%@ include file="/project/include.jsp" %>

<shell:fieldset title="Informazioni generali">
	<table border="0" cellspacing="3" cellpadding="0" >	
		<tr>
			<td class="form-label">
				<shell:label prop="codiceRemoto" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="codiceRemoto" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="codiceRemoto">
						<j:text class="form-normal-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="denominazione" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="denominazione" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="denominazione">
						<j:text class="form-long-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="managerRemoto" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="managerRemoto" />
				</bui:out>
				<bui:out modes="create, update">
				  	<j:bind prop="managerRemoto">
				  	<c:choose>
				  		<c:when test="${!empty idManagerRemoto}">
				  			<j:tile name="shell.plaintext" prop="managerRemoto" />
				  			<j:hidden />
				  		</c:when>
				  		<c:otherwise>
				  			<j:select class="form-input" emptyOptionDescr=""/>
							<shell:error />
						</c:otherwise>
				  	</c:choose>
				  	</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="ente" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="ente" />
				</bui:out>
				<bui:out modes="create, update">
				  	<j:bind prop="ente">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 	</table>
 </shell:fieldset>
 
<shell:fieldset title="Informazioni aggiuntive">
	<table border="0" cellspacing="3" cellpadding="0" > 
		<tr>
			<td class="form-label">
				<shell:label prop="note" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="note" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="note">
						<j:textarea class="form-normal-textarea" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
	</table>
</shell:fieldset>