<%@ include file="/project/include.jsp" %>
<j:tile slave="${_slave}" name="shell.slaveToolbar" />
<shell:grid description="dataInizio,25%; dataFine,75%" slave="${_slave}" />

<shell:fieldset title="Periodo di chiusura">	
	<table border="0" cellspacing="3" cellpadding="0" >
		<tr>
			<td class="form-label">
				<shell:label prop="dataInizio" />
			</td>
			<td class="form-values">
				<bui:out slave="${_slave}" modes="view">
					<j:tile slave="${_slave}" name="shell.plaintext" prop="dataInizio" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="dataInizio">
						<j:text class="form-date" id="dataInizioCld" />
						<shell:calendar inputId="dataInizioCld" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
			</tr> 		
		<tr>
			<td class="form-label">
				<shell:label prop="dataFine" />
			</td>
			<td class="form-values">
				<bui:out slave="${_slave}" modes="view">
					<j:tile slave="${_slave}" name="shell.plaintext" prop="dataFine" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">					
					<j:bind prop="dataFine">
						<j:text class="form-date" id="dataFineCld" />
						<shell:calendar inputId="dataFineCld" />
						<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 slave="${_slave}" modes="view">
					<j:tile slave="${_slave}" name="shell.plaintext" prop="note" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="note">
						<j:textarea class="form-normal-textarea" />						
					</j:bind>	
				</bui:out>
			</td>
		</tr>
	</table>
</shell:fieldset>