<?php
defined('BASEPATH') OR exit('No direct script access allowed'); 

?>

            <div class="content-wrapper">
                <section class="content-header">
                    <?php echo $pagetitle; ?>
                    <?php echo $breadcrumb; ?>
                </section>

                <section class="content">
                    <div class="row">
                        <div class="col-md-4">
                             <div class="box">
                                <div class="box-header with-border">
                                    <h3 class="box-title"><?php echo 'Crear Registro'; ?></h3>
                                </div>
                                <div class="box-body">
                                    <?php if (!empty($message)): ?>
                                        <pre>
                                            <?php echo $message;?>  
                                        </pre>    
                                    <?php endif ?>
                                    
                                    <?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-create_geocolonia')); ?>

                                    
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dpto">Departamento</label>
                                            <div class="col-sm-7">
                                                <?php  
                                                    $attribute = 'class="form-control selectpicker" title="Departamentos" id="dpto" name="dpto" '; 
                                                    echo form_dropdown('dpto', $departamentos, '',$attribute); ?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Distrito</label>
                                            <div class="col-sm-7">
                                                <select class="form-control selectpicker" title="Distritos" id="dist" name="dist"></select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Barrio</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($barrio);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="col_cod">Colonia</label>
                                            <div class="col-sm-7">
                                                <select class="form-control selectpicker" title="Colonias" id="col_cod" name="col_cod"></select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Area</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($area);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Area Emp.</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($ae);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Manzana</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($manzana);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Lote SIRT</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($lote_a);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Lote INDERT</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($lote_b);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Finca</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($finca);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Padrón</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($padron);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label" for="dist">Cuestionario</label>
                                            <div class="col-sm-3">
                                                <?php echo form_input($cuest);?>
                                            </div>
                                        </div>
                                        
                                        <div class="form-group">
                                            <div class="col-sm-offset-2 col-sm-10">
                                                <div class="btn-group">
                                                    <?php echo form_button(array('type' => 'submit', 'class' => 'btn btn-primary btn-flat', 'content' => lang('actions_submit'))); ?>
                                                    <?php echo form_button(array('type' => 'reset', 'class' => 'btn btn-warning btn-flat', 'content' => lang('actions_reset'))); ?>
                                                    <?php echo anchor('monitoreo/panel_control/panel_control/control_operador', lang('actions_cancel'), array('class' => 'btn btn-default btn-flat')); ?>
                                                </div>
                                            </div>
                                        </div>
                                    <?php echo form_close();?>
                                </div>
                            </div>
                         </div>
                    </div>
                </section>
            </div>
