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

<j:tile slave="${_slave}" name="shell.slaveToolbar" />	
<shell:grid slave="${_slave}" description="dataInizioContrattoMMG; dataFineContrattoMMG;medicoRichiedente;frequenzaMMG;numeroAccessi"  />

<table align="center" width="100%">
	<tr>
		<td width="50%" valign="top">
			<table>
				<icare:propertyMode prop="medicoRichiedente">
				<tr>
					<td class="form-label">
						<shell:label prop="medicoRichiedente" />
					</td>
					<td class="form-values">
						<bui:out slave="${_slave}" modes="view">
							<j:tile slave="${_slave}" name="shell.plaintext" prop="medicoRichiedente" />
						</bui:out>
						<bui:out slave="${_slave}" modes="create,update">
							<j:bind prop="medicoRichiedente">
								<j:select class="form-input" emptyOptionDescr=" "/>
								<shell:error />
							</j:bind>
						</bui:out>		
					</td>										
		 		</tr>
		 		</icare:propertyMode>
		 		<icare:propertyMode prop="frequenzaMMG">
				<tr>
					<td class="form-label">
						<shell:label prop="frequenzaMMG" />
					</td>
					<td class="form-values">
						<bui:out slave="${_slave}" modes="view">
							<j:tile slave="${_slave}" name="shell.plaintext" prop="frequenzaMMG" />
						</bui:out>
						<bui:out slave="${_slave}" modes="create,update">
							<j:bind prop="frequenzaMMG">
								<j:select class="form-input" emptyOptionDescr=" "/>
								<shell:error />
							</j:bind>
						</bui:out>		
					</td>										
		 		</tr>
		 		</icare:propertyMode>
		 		<icare:propertyMode prop="numeroAccessi">
		 		<tr>
					<td class="form-label">
						<shell:label prop="numeroAccessi" />
					</td>
					<td class="form-values">
						<bui:out slave="${_slave}" modes="view">
							<j:tile slave="${_slave}" name="shell.plaintext" prop="numeroAccessi" />
						</bui:out>
						<bui:out slave="${_slave}" modes="create,update">
							<j:bind prop="numeroAccessi">
								<j:text class="form-short-text"/>
								<shell:error />
							</j:bind>
						</bui:out>		
					</td>										
		 		</tr>
		 		</icare:propertyMode>
		 	</table>
		</td>
		<td width="50%" valign="top">
			<table>
				<icare:propertyMode prop="dataInizioContrattoMMG">
				<tr>
					<td class="form-label">
						<shell:label prop="dataInizioContrattoMMG" />
					</td>
					<td class="form-values">
						<bui:out slave="${_slave}" modes="view">
							<j:tile slave="${_slave}" name="shell.plaintext" prop="dataInizioContrattoMMG" />
						</bui:out>
						<bui:out slave="${_slave}" modes="create,update">
							<j:bind prop="dataInizioContrattoMMG">
								<j:text class="form-date" id="dataInizioMMGCld" />
								<shell:calendar inputId="dataInizioMMGCld" />
								<shell:error />
							</j:bind>
						</bui:out>		
					</td>										
		 		</tr>
		 		</icare:propertyMode>
		 		<icare:propertyMode prop="dataFineContrattoMMG">
		 		<tr>
					<td class="form-label">
						<shell:label prop="dataFineContrattoMMG" />
					</td>
					<td class="form-values">
						<bui:out slave="${_slave}" modes="view">
							<j:tile slave="${_slave}" name="shell.plaintext" prop="dataFineContrattoMMG" />
						</bui:out>
						<bui:out slave="${_slave}" modes="create,update">
							<j:bind prop="dataFineContrattoMMG">
								<j:text class="form-date" id="dataFineMMGCld" />
								<shell:calendar inputId="dataFineMMGCld" />
								<shell:error />
							</j:bind>
						</bui:out>		
					</td>										
		 		</tr>
		 		</icare:propertyMode>
			</table>
		</td>
	</tr>
	</table>