<?php echo csrf_field(); ?>
<form id='form-nuevo'>
	<div class="row">
		<div class="col-md-11 col-sm-12">
			<div class="row">
				<div class="col-md-4 col-sm-12">
				  <div class="form-group">
				    <select class="form-control" required="" id='departamento' name='departamento'>
				    	<option value>.:Departamento:.</option>
				    	@foreach ($departamentos as $d)
				    		<option value='{{ $d->id }}'>{{ $d->nombre }}</option>
				    	@endforeach	
				    </select>
				  </div>
				</div>
				<div class="col-md-4 col-sm-12">
				  <div class="form-group">
				    <select class="form-control" required="" id='puesto' name='puesto'>
				    	<option value>.:Puesto:.</option>
				    	@foreach ($puestos as $p)
				    		<option value='{{ $p->id }}'>{{ $p->nombre_m }}</option>
				    	@endforeach	
				    </select>
				  </div>
				</div>
				<div class="col-md-4 col-sm-12">
				  <div class="form-group">
				    <select class="form-control" required="" id='personal' name='personal'>
				    	<option value>.:Personal:.</option>
				    	@foreach ($personal as $p)
				    		<option value='{{ $p->id }}'>{{ $p->titulo }} {{ $p->nombre }} {{ $p->apellido_paterno }} {{ $p->apellido_materno }}</option>
				    	@endforeach	
				    </select>
				  </div>
				</div>
			</div>
		</div>
				
		<div class="col-md-1 col-sm-12 text-center">
		  <button class="btn btn-success btn-sm" type="submit" data-toggle="tooltip" data-placement="left" title="" onclick="javascript:add_puesto_depto('25');" data-original-title="Guardar"><i class="fa fa-save"></i></button>
		</div>
	</div>
</form>