<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/includeTemplate.inc"%>
<%@taglib prefix="form" uri="/WEB-INF/tld/spring-form.tld"%>
<%@taglib prefix="tiles" uri="/WEB-INF/tld/tiles-jsp.tld"%>
<%@page import="java.util.List,org.springframework.validation.ObjectError"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<form id="motivo_filter_form">
	<div id="motivo_filter_toolbar" class="formulario_legend d-none" ></div>
		<fieldset id="motivo_filter_fieldset" class="rup-table-filter-fieldset" >
			<div class="panel panel-default">
				<div class="panel-heading"><spring:message code="busquedaREATE.criteriosBusqueda"/></div>
					<div class="panel-body">
						
						<div class="row">
							<div class="col-xs-1 form-group">
								<label for="idMotivo_filter_table"><spring:message code="tablasmaestras.categoria.id"/></label><br/>
								<input type="text" name="idMotivo" class="form-control" id="idMotivo_filter_table"/>	
							</div>
							
							<div class="col-xs-5 form-group">
								<label for="descTipoEs"><spring:message code="tablasmaestras.categoria.descripcionEs"/></label><br/>
								<input type="text" name="descMotivoEs" class="form-control" id="descTipoEs_filter_table"/>				
							</div>
							<div class="col-xs-5 form-group">
								<label for="descTipoEu"><spring:message code="tablasmaestras.categoria.descripcionEu"/></label><br/>
								<input type="text" name="descMotivoEu" class="form-control" id="descTipoEu_filter_table"/>				
							</div>
					
						</div>
						
						<div class="row">						
							<div class="col-xs-2 form-group">
								<label for="baja"><spring:message code="tablasmaestras.categoria.baja"/></label>
								<select name="baja" id="baja_filter_table" class="form-control">
									<option value=""></option>
									<option value="0"><spring:message code="establecimiento.no"/></option>
									<option value="1"><spring:message code="establecimiento.si"/></option>
								</select>
							</div><div class="col-xs-6 form-group">
							    <input type="hidden" name="idProcedimiento" id="codProcedureId_filter_tableHidden"/>
							    <label for="codProcedureId_filter_tableHidden"><spring:message code="tablasmaestras.categoria.procedimiento"/></label>
							    <select id="codProcedureId_filter_table" class="form-control"></select>
							</div>
						</div>
					</div>
			</div>
			<div id="motivo_filter_buttonSet" class="right_buttons d-none">	
				<button id="motivo_filter_cleanButton" type="button" class="btn btn-warning rup-limpiar">
					<i class="fa fa-eraser"></i>
					<span><spring:message code="clear" /></span>
				</button>
				
				<button id="motivo_filter_filterButton" type="button" class="btn rup-filtrar rup-filter-dropdown" >
					<i class="fa fa-filter"></i>
					<span><spring:message code="filter" /></span>
				</button>
			</div>
		</fieldset>
</form>