<%@page import="it.cedaf.juice.mvc.context.JuiceContext"%>
<%@ 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="codice" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="codice" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="codice">
						<j:text class="form-normal-text" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="denominazione" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="denominazione" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="denominazione">
						<j:text class="form-normal-text" size="60" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="servizio" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="nomeServizio" />
				</bui:out>
				<bui:out modes="create, update">
				  	<j:bind prop="servizio">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
		<tr>
			<td class="form-label">
				<shell:label prop="distretto" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="distretto" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="distretto">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<tr>
			<td class="form-label">
				<shell:label prop="polo" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="polo" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="polo">
						<j:select class="form-input" emptyOptionDescr=""/>
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr>
 		<% if (JuiceContext.getInstance().getModule("bdpsa") != null) { %>
 		<tr>
			<td class="form-label">
				<shell:label prop="entePSA" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="entePSA" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="entePSA">
						<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" cellspacing="3" cellpadding="0" > 
 		<tr>
			<td class="form-label">
				<shell:label prop="note" />
			</td>
			<td class="form-values">
				<bui:out modes="view">
					<j:tile name="shell.plaintext" prop="note" />
				</bui:out>
				<bui:out modes="create, update">
					<j:bind prop="note">
						<j:textarea class="form-input" cols="40" rows="3" />
						<shell:error />
					</j:bind>
				</bui:out>
			</td>
 		</tr> 	
 	</table>
</shell:fieldset>
</center>