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

<j:tile slave="esenzioni" name="shell.slaveToolbar" />
<shell:grid description="codice,20%; descrizione,40%; dataRilascio,20%; dataScadenza,20%" slave="esenzioni" />

<shell:fieldset title="Informazioni generali">	
	<table border="0" cellpadding="0" cellspacing="3" width="100%">	
		<tr>
			<td class="form-label">
				<shell:label prop="codice" />
			</td>
			<td class="form-values">
				<bui:out slave="esenzioni" modes="view">
					<j:tile slave="esenzioni" name="shell.plaintext" prop="codice" />
				</bui:out>				
				<bui:out slave="esenzioni" modes="create,update">									
					<j:bind prop="idMotivoEsenzione">
						<j:select class="form-input" emptyOptionDescr="" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>
	
		<tr>
			<td class="form-label">
				<shell:label prop="descrizione" />
			</td>
			<td class="form-values">
				<bui:out slave="esenzioni" modes="view">
					<j:tile slave="esenzioni" name="shell.plaintext" prop="descrizione" />
				</bui:out>				
				<%--<bui:out slave="esenzioni" modes="create,update">									
					<j:bind prop="descrizione">
						<j:select class="form-input" emptyOptionDescr="" />
						<shell:error />
					</j:bind>
				</bui:out> --%>
			</td>
		</tr>
					
		<tr>
			<td class="form-label">
				<shell:label prop="dataRilascio" />
			</td>
			<td class="form-values">
				<bui:out slave="esenzioni" modes="view">
					<j:tile slave="esenzioni" name="shell.plaintext" prop="dataRilascio" />
				</bui:out>				
				<bui:out slave="esenzioni" modes="create,update">									
					<j:bind prop="dataRilascio">
						<j:text class="form-date" id="dataRilascioCld" />
						<shell:calendar inputId="dataRilascioCld" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="dataScadenza" />
			</td>
			<td class="form-values">
				<bui:out slave="esenzioni" modes="view">
					<j:tile slave="esenzioni" name="shell.plaintext" prop="dataScadenza" />
				</bui:out>				
				<bui:out slave="esenzioni" modes="create,update">									
					<j:bind prop="dataScadenza">
						<j:text class="form-date" id="dataScadenzaCld" />
						<shell:calendar inputId="dataScadenzaCld" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
		</tr>
	</table>
</shell:fieldset>