<%@ include file="/project/include.jsp" %>
		
<j:tile slave="${_slave}" name="shell.slaveToolbar" />	
<shell:grid description="tipoRiferimento; descrizioneRiferimento; note" slave="${_slave}" />

<shell:fieldset title="${j:bundle('LBL_infogenRiferimento_SET')}">
	<table border="0" cellpadding="0" cellspacing="3" width="100%">
		<tr>
			<td valign="top" width="50%">
				<table border="0" cellpadding="0" cellspacing="3">
					<tr>
						<td class="form-label">
							<shell:label prop="tipoRiferimento" />
						</td>
						<td class="form-values">
							<bui:out slave="${_slave}" modes="view">
								<j:tile slave="${_slave}" name="shell.plaintext" prop="tipoRiferimento" />
							</bui:out>
							<bui:out slave="${_slave}" modes="create, update">
								<j:bind prop="tipoRiferimento">
									<j:select class="form-input"  emptyOptionDescr=""/>
									<shell:error />
								</j:bind>
							</bui:out>
						</td>
			 		</tr>
			 	</table>
			 </td>
			 <td valign="top" width="50%">
				<table border="0" cellpadding="0" cellspacing="3">
					<tr>
						<td class="form-label">
							<shell:label prop="descrizioneRiferimento" forceRequired="true"/>
						</td>
						<td class="form-values">
							<bui:out slave="${_slave}" modes="view">
								<j:tile slave="${_slave}" name="shell.plaintext" prop="descrizioneRiferimento" />
							</bui:out>
							<bui:out slave="${_slave}" modes="create, update">
								<j:bind prop="descrizione">
									<j:text class="form-normal-text" maxlength="255" />						
									<shell:error />
								</j:bind>
							</bui:out>
						</td>
			 		</tr>
				</table>
			</td>
		</tr>
	</table>
</shell:fieldset>

<shell:fieldset title="${j:bundle('LBL_infoaggRiferimento_SET')}">
	<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" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>	
	</table>
</shell:fieldset>