

		 {!! Form::open(array('url'=>'residentes', 'class'=>'form-horizontal','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!}

	@if(Session::has('messagetext'))
	  
		   {!! Session::get('messagetext') !!}
	   
	@endif
	<ul class="parsley-error-list">
		@foreach($errors->all() as $error)
			<li>{{ $error }}</li>
		@endforeach
	</ul>		


<div class="row"><div class="col-md-12">
						<fieldset><legend> Residentes</legend>
				{!! Form::hidden('Residentesid', $row['Residentesid']) !!}					
									  <div class="form-group row  " >
										<label for="Nombres" class=" control-label col-md-4 text-left"> Nombres </label>
										<div class="col-md-6">
										  <input  type='text' name='Nombres' id='Nombres' value='{{ $row['Nombres'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Apellidos" class=" control-label col-md-4 text-left"> Apellidos </label>
										<div class="col-md-6">
										  <input  type='text' name='Apellidos' id='Apellidos' value='{{ $row['Apellidos'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Condominio" class=" control-label col-md-4 text-left"> Condominio </label>
										<div class="col-md-6">
										  <input  type='text' name='Condominio' id='Condominio' value='{{ $row['Condominio'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Residencia" class=" control-label col-md-4 text-left"> Residencia </label>
										<div class="col-md-6">
										  <input  type='text' name='Residencia' id='Residencia' value='{{ $row['Residencia'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="FechadeEntrada" class=" control-label col-md-4 text-left"> FechadeEntrada </label>
										<div class="col-md-6">
										  <input  type='text' name='FechadeEntrada' id='FechadeEntrada' value='{{ $row['FechadeEntrada'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="FechadeSalida" class=" control-label col-md-4 text-left"> FechadeSalida </label>
										<div class="col-md-6">
										  <input  type='text' name='FechadeSalida' id='FechadeSalida' value='{{ $row['FechadeSalida'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="TelefonoCasa" class=" control-label col-md-4 text-left"> TelefonoCasa </label>
										<div class="col-md-6">
										  <input  type='text' name='TelefonoCasa' id='TelefonoCasa' value='{{ $row['TelefonoCasa'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="TelefonoOficina" class=" control-label col-md-4 text-left"> TelefonoOficina </label>
										<div class="col-md-6">
										  <input  type='text' name='TelefonoOficina' id='TelefonoOficina' value='{{ $row['TelefonoOficina'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Celular" class=" control-label col-md-4 text-left"> Celular </label>
										<div class="col-md-6">
										  <input  type='text' name='Celular' id='Celular' value='{{ $row['Celular'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Estatus" class=" control-label col-md-4 text-left"> Estatus </label>
										<div class="col-md-6">
										  <input  type='text' name='Estatus' id='Estatus' value='{{ $row['Estatus'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="NombresdelPropietario" class=" control-label col-md-4 text-left"> NombresdelPropietario </label>
										<div class="col-md-6">
										  <input  type='text' name='NombresdelPropietario' id='NombresdelPropietario' value='{{ $row['NombresdelPropietario'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="ApellidosdelPropietario" class=" control-label col-md-4 text-left"> ApellidosdelPropietario </label>
										<div class="col-md-6">
										  <input  type='text' name='ApellidosdelPropietario' id='ApellidosdelPropietario' value='{{ $row['ApellidosdelPropietario'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="TelefonodelPropietario" class=" control-label col-md-4 text-left"> TelefonodelPropietario </label>
										<div class="col-md-6">
										  <input  type='text' name='TelefonodelPropietario' id='TelefonodelPropietario' value='{{ $row['TelefonodelPropietario'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Email" class=" control-label col-md-4 text-left"> Email </label>
										<div class="col-md-6">
										  <input  type='text' name='Email' id='Email' value='{{ $row['Email'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Emaildelpropietario" class=" control-label col-md-4 text-left"> Emaildelpropietario </label>
										<div class="col-md-6">
										  <input  type='text' name='Emaildelpropietario' id='Emaildelpropietario' value='{{ $row['Emaildelpropietario'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Tipo" class=" control-label col-md-4 text-left"> Tipo </label>
										<div class="col-md-6">
										  <input  type='text' name='Tipo' id='Tipo' value='{{ $row['Tipo'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Cuentaprincipal" class=" control-label col-md-4 text-left"> Cuentaprincipal </label>
										<div class="col-md-6">
										  <input  type='text' name='Cuentaprincipal' id='Cuentaprincipal' value='{{ $row['Cuentaprincipal'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Cuentasecundaria" class=" control-label col-md-4 text-left"> Cuentasecundaria </label>
										<div class="col-md-6">
										  <input  type='text' name='Cuentasecundaria' id='Cuentasecundaria' value='{{ $row['Cuentasecundaria'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Banco" class=" control-label col-md-4 text-left"> Banco </label>
										<div class="col-md-6">
										  <input  type='text' name='Banco' id='Banco' value='{{ $row['Banco'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Fechacondominio" class=" control-label col-md-4 text-left"> Fechacondominio </label>
										<div class="col-md-6">
										  <input  type='text' name='Fechacondominio' id='Fechacondominio' value='{{ $row['Fechacondominio'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Cuota" class=" control-label col-md-4 text-left"> Cuota </label>
										<div class="col-md-6">
										  <input  type='text' name='Cuota' id='Cuota' value='{{ $row['Cuota'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> </fieldset></div></div>

			<div style="clear:both"></div>	
				
					
				  <div class="form-group">
					<label class="col-sm-4 text-right">&nbsp;</label>
					<div class="col-sm-8">	
					<button type="submit" name="apply" class="btn btn-default btn-sm" ><i class="fa  fa-check-circle"></i> {{ Lang::get('core.sb_apply') }}</button>
					<button type="submit" name="submit" class="btn btn-default btn-sm" ><i class="fa  fa-save "></i> {{ Lang::get('core.sb_save') }}</button>
				  </div>	  
			
		</div> 
		 <input type="hidden" name="action_task" value="public" />
		 {!! Form::close() !!}
		 
   <script type="text/javascript">
	$(document).ready(function() { 
		
		 

		$('.removeCurrentFiles').on('click',function(){
			var removeUrl = $(this).attr('href');
			$.get(removeUrl,function(response){});
			$(this).parent('div').empty();	
			return false;
		});		
		
	});
	</script>		 
