<%@include file="/WEB-INF/includeTemplate.inc"%>	
<%@page import="com.ejie.x38.security.UserCredentials"%>
<%@page import="java.util.*" %> 
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="form" uri="/WEB-INF/tld/spring-form.tld"%>
<%@page import="com.ejie.ab63.comun.Constantes"%>
<section>
	<div class="container"> 
		<!-- Incluimos la jsp que contiene las pestanas -->
		<jsp:include page="../pestanas.jsp" />
		
		<input type="hidden" id="flagSearchFolder" value="${flagSearchFolder}"/>
		<input type="hidden" id="urlab61" name="urlab61" value="${urlab61}"/>
		<input type="hidden" id="ab61_folderID" name="ab61_folderID" value="${ab61_folderID}"/>
		<input type="hidden" id="recargarPagina" value="0"/>
		<input type="hidden" id="bloquearPagina" value="${!isEnableSaveButton}"/>
		
		<div id="id_capa"></div>
		<form id="formSolicitante" method="post" action="/ab63WebAppWar/observaciones/guardarObservaciones">
		
			<input type="hidden" id="idExpediente" name="idExpediente" value="${initForm.idExpediente}">
			<div id="feedbackMensajesSearchFolder"></div>
			<div class="container row">
				<div class="col-xs-12">
					<label class="required d-block"><spring:message code="establecimiento.dispensado"/></label>
					<div class="form-check-inline">
						<label class="form-check-label">
							<input type="radio" class="form-check-input" name="dispens" value='1' required="required" ${ initForm.dispensado eq "1"? "checked='checked'": "" } >
							<spring:message code="establecimiento.si"/>
						</label>
					</div>
					<div class="form-check-inline">
						<label  class="form-check-label">
							<input type="radio" class="form-check-input" name="dispens" value='0' required="required" ${empty initForm.dispensado or initForm.dispensado eq "0"? "checked='checked'": "" }>
							<spring:message code="establecimiento.no"/>
						</label>
					</div>
				</div>
			</div>
			<br/>
			<div class="container row">
				<div class="col-xs-12">
					<label  for="obserCast" class="label ${ initForm.dispensado eq '1'? 'required': '' "><spring:message code="fexpediente.formObservaciones.observacionesCastellano"/></label>
					<textarea data-autoresize id="obserCast" class="form-control" maxlength="200"></textarea>
					<span class="mark-length ml-auto text-black-50"></span>
				</div>
			</div>
			<br/>
			<div class="container row">
				<div class="col-xs-12">
					<label for="obserEusk" class="label ${ initForm.dispensado eq '1'? 'required': ''"><spring:message code="fexpediente.formObservaciones.observacionesEuskera"/></label>
					<textarea data-autoresize id="obserEusk" class="form-control" maxlength="200"></textarea>
					<span class="mark-length ml-auto text-black-50"></span>
				</div>
			</div>
		</form>
	</div>	 				
</section>
<div id="space"></div>

