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

<center>
	<shell:fieldset title="Informazioni generali">					
		<table border="0" cellspacing="3" cellpadding="0" >
			<tr>
				<td class="form-label">
					<shell:label prop="anno" />
				</td>
				<td class="form-values">
					<bui:out modes="view,update">
						<j:tile name="shell.plaintext" prop="anno" />
					</bui:out>
					<bui:out modes="create">
					<j:bind prop="anno">
						<j:text id="idAnno" class="form-short-text" maxlength="4"  />
						<shell:error />
					</j:bind>						
					</bui:out>
				</td>
			</tr>
			<tr>
				<td class="form-label">
					<shell:label prop="mese"  />
				</td>	
				<td class="form-values" >
					<bui:out modes="view,update">
						<j:tile name="shell.plaintext" prop="mese" />
					</bui:out>				
					<bui:out modes="create">
					<j:bind prop="mese">
						<j:select class="form-input" id="idMese" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>						
					</bui:out>								
				</td>
			</tr>					
			<tr>
				<td class="form-label">
					<shell:label prop="struttura" />
				</td>
				<td class="form-values">
					<bui:out modes="view,update">
						<j:tile name="shell.plaintext" prop="struttura" />
					</bui:out>
					<bui:out modes="create">
					<j:bind prop="struttura">
						<j:select id="idStruttura" class="form-input" emptyOptionDescr="" />
						<shell:error />
					</j:bind>						
					</bui:out>					
				</td>
			</tr> 					
		</table>
	</shell:fieldset>
	<shell:fieldset title="Attivit&agrave; completate">					
		<table border="0" cellspacing="3" cellpadding="0" >
			<tr>
				<td class="form-label">
					<shell:label prop="presenze" />
				</td>
				<td class="form-values">
					<bui:out modes="view">
						<j:tile name="shell.plaintext" prop="presenze" />
					</bui:out>
					<bui:out modes="create, update">
						<j:bind prop="presenze">
							<j:radio displayValue="si"/>${j:bundle('LBL_si')}
							<j:radio displayValue="no"/>${j:bundle('LBL_no')}
							<shell:error />
						</j:bind>
					</bui:out>
				</td>
	 		</tr>	
			<tr>
				<td class="form-label">
					<shell:label prop="schedeUOI" />
				</td>
				<td class="form-values">
					<bui:out modes="view">
						<j:tile name="shell.plaintext" prop="schedeUOI" />
					</bui:out>
					<bui:out modes="create, update">
						<j:bind prop="schedeUOI">
							<j:radio displayValue="si"/>${j:bundle('LBL_si')}
							<j:radio displayValue="no"/>${j:bundle('LBL_no')}
							<shell:error />
						</j:bind>
					</bui:out>
				</td>
	 		</tr>
			<tr>
				<td class="form-label">
					<shell:label prop="schedeEventi" />
				</td>
				<td class="form-values">
					<bui:out modes="view">
						<j:tile name="shell.plaintext" prop="schedeEventi" />
					</bui:out>
					<bui:out modes="create, update">
						<j:bind prop="schedeEventi">
							<j:radio displayValue="si"/>${j:bundle('LBL_si')}
							<j:radio displayValue="no"/>${j:bundle('LBL_no')}
							<shell:error />
						</j:bind>
					</bui:out>
				</td>
	 		</tr>	 		
		</table>
	</shell:fieldset>	
</center>