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

<j:tile slave="rate" name="shell.slaveToolbar" />

<shell:grid description="tipologia,40%;numeroRata,30%;percentuale,30%" slave="rate" />

<shell:fieldset title="Informazioni rata">
	<table border="0" cellpadding="0" cellspacing="3">
		<tr>
			<td class="form-label">
				<shell:label prop="tipologia" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="tipologia" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="tipologia">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="numeroRata" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="numeroRata" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="numeroRata">
						<j:text class="form-short-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="percentuale" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="percentuale" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="percentuale">
						<j:text class="form-short-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="tipoArrotondamento" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="tipoArrotondamento" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="tipoArrotondamento">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="importoArrotondamento" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="importoArrotondamento" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="importoArrotondamento">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="algoritmoScadenza" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="algoritmoScadenza" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="algoritmoScadenza">
						<j:text class="form-long-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="numeroGgMm" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="numeroGgMm" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="numeroGgMm">
						<j:text class="form-short-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="tipoGgMm" />
			</td>
			<td class="form-data">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" slave="${_slave}" prop="tipoGgMm" />
				</bui:out>
				<bui:out slave="${_slave}" modes="create, update">
					<j:bind prop="tipoGgMm">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
	</table>
</shell:fieldset>
<shell:fieldset title="Informazioni aggiuntive">
	<table border="0" cellpadding="0" cellspacing="3" width="100%"> 	
		<tr>
			<td class="form-label">
				<shell:label prop="note" />
			</td>
			<td class="form-values">
				<bui:out slave="${_slave}" modes="view">
					<j:tile name="shell.plaintext" prop="note" slave="${_slave}"/>
				</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>