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

<j:tile slave="${_slave}" name="shell.slaveToolbar" />
<shell:grid description="valoreIniziale,25%; valoreFinale,25%; valoreOutput,25%; codiceOutput,25%" slave="${_slave}" />
	
<shell:fieldset title="Informazioni generali">	
	<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="valoreIniziale" />
						</td>
						<td class="form-values">
							<bui:out slave="${_slave}" modes="view">
								<j:tile slave="${_slave}" name="shell.plaintext" prop="valoreIniziale" />
							</bui:out>				
							<bui:out slave="${_slave}" modes="create,update">									
								<j:bind prop="valoreIniziale">
									<j:text class="form-short-text" />
									<shell:error />
								</j:bind>
							</bui:out>
						</td>
					</tr>
					<tr>
						<td class="form-label">
							<shell:label prop="valoreFinale" />
						</td>
						<td class="form-values">
							<bui:out slave="${_slave}" modes="view">
								<j:tile slave="${_slave}" name="shell.plaintext" prop="valoreFinale" />
							</bui:out>				
							<bui:out slave="${_slave}" modes="create,update">									
								<j:bind prop="valoreFinale">
									<j:text class="form-short-text" />
									<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="valoreOutput" />
						</td>
						<td class="form-values">
							<bui:out slave="${_slave}" modes="view">
								<j:tile slave="${_slave}" name="shell.plaintext" prop="valoreOutput" />
							</bui:out>				
							<bui:out slave="${_slave}" modes="create,update">
								<j:bind prop="valoreOutput">
									<j:text class="form-short-text" />
									<shell:error />
								</j:bind>
							</bui:out>
						</td>
					</tr>
					<tr>
						<td class="form-label">
							<shell:label prop="codiceOutput" />
						</td>
						<td class="form-values">
							<bui:out slave="${_slave}" modes="view">
								<j:tile slave="${_slave}" name="shell.plaintext" prop="codiceOutput" />
							</bui:out>				
							<bui:out slave="${_slave}" modes="create,update">
								<j:bind prop="codiceOutput">
									<j:text class="form-normal-text" />
									<shell:error />
								</j:bind>
							</bui:out>
						</td>
					</tr>
				</table>
			</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" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>	
	</table>
</shell:fieldset>