@include('/led/led_header')
<link href="{{asset('components/datatables/media/css/jquery.dataTables.min.css')}}" rel="stylesheet">
<div class="container">
	<div id="div_buscador_leyenda" class="col-md-12  text-center">
		<h3>{{$titulo}}</h3>
		<h5><p style="font-weight: bold;"><BR>Puede realizar la búsqueda por Razón Social, Apellido y Nombre, Identificación Tributaria o DNI<br>
		</p></h5>
	</div>
	<!--inicio form Busqueda padron autocomplete -->
	<div id="div_buscador_form" class="col-md-12" style="padding-top: 20px; padding-bottom: 50px;">
		<form method="post" id="form_buscador_autocomplete">
		  	<div class="col-md-9 col-md-offset-1">
			  	<input type="hidden" name="_token" id="token" value="{{ csrf_token() }}">
					<input type="text" name="input_autocomplete" class="form-control" id="input_autocomplete" value="{{ $nombre or '' }}" style="text-transform:uppercase">
				</div>

				<div class="col-md-2">
				<button type="submit" id="btn_submit_autocomplete" class="btn btn-info btn-fidelitas"><i class="fa fa-search" style="font-size:20px;"></i></button>
				</div>  
		</form>
	</div>	 


	@include('loading')
	<div id="padron" class="col-md-12"  style="display: none;margin-top:3%">		
		<table class="table table-hover">
		 	<thead>
		  	<tr class="btn-fidelitas">
		    	<th class="text-center">Nombre</th>
		    	<th class="text-center">Identificación</th>
		    	<th class="text-center">Cuit</th>
				</tr>
			</thead>
			<tbody>
				<tr class="click_row" id="tr_link">
					<td class="text-center">
						<form action="{{$url}}" method="post" id="form_compacto">
							<input type="hidden" name="_token" value="{{ csrf_token() }}">
							<input type="hidden" name="idp" id="idp" value="">
							<input type="hidden" name="cuit" id="fcuit" value="">
							<input type="hidden" name="nc" id="nc" value="">
							<input type="hidden" name="rs" id="rs" value="">
							<input type="hidden" name="titulo"  value="{{ $titulo }}">
							<label name="nombre_persona" id="nombre_persona"></label>
						</form>
					</td>
					<td  class="text-center"><label name="identificador" id="identificador"></label></td>
					<td  class="text-center"><span name="pre_clave" id="pre_clave"></span><span name="cuerpo_clave" id="cuerpo_clave"></span><span name="suf_clave" id="suf_clave"></span></td>
				</tr>
			</tbody>
		</table>
	</div>
	<!--fin tabla resultados buscador padron autocomplete  -->

  <!--inicio tabla resultados buscador simple -->
  <div id="padron_busqueda_simple"   style="display: none;margin-top:3%"></div>
  <!--fin tabla resultados buscador simple -->
	

  <div id="div_loading" class="col-md-12 text-center" style="display: none;">
   <img style="float:none;" src="/images/loading.gif" class="loading"/> 
  </div>

  </div>	 





<script type="text/javascript" src="{{ URL::asset('components/datatables/media/js/jquery.dataTables.min.js') }}"> </script>
@include('footer')
