<?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-12">
                             <div class="box">
                                <div class="box-header with-border">
                                    <h3 class="box-title"><?php echo lang('geocolonias_edit_geocolonia'); ?></h3>
                                </div>
                                <div class="box-body">
                                    <?php echo $message;?>  
                                    
                                    <!-- El form_open ya tiene establecido el method="POST" -->
                                    <?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-edit_user')); ?>
                                        <div class="form-group">
                                            <?php echo lang('reg05_l23_1', 'l23_1', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-md-3">
                                                <?php  
                                                        $attribute = 'class="selectpicker show-tick form-control" title="Seleccione el cultivo"'; 
                                                        echo form_dropdown('l23_1', $l23_1, $l23_1_sel,$attribute); ?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('reg05_l23_2', 'l23_2', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-1">
                                                <?php echo form_input($l23_2);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('reg05_l23_3_1', 'l23_3_1', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-md-3">
                                                <?php  
                                                        $attribute = 'class="selectpicker show-tick form-control" title="Seleccione"'; 
                                                        echo form_dropdown('l23_3_1', $l23_3_1, $l23_3_1_sel,$attribute); ?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('reg05_l23_3_2', 'l23_3_2', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-md-3">
                                                <?php  
                                                        $attribute = 'class="selectpicker show-tick form-control" title="Seleccione"'; 
                                                        echo form_dropdown('l23_3_2', $l23_3_2, $l23_3_2_sel,$attribute); ?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('reg05_l23_3_3', 'l23_3_3', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-md-3">
                                                <?php  
                                                        $attribute = 'class="selectpicker show-tick form-control" title="Seleccione"'; 
                                                        echo form_dropdown('l23_3_3', $l23_3_3, $l23_3_3_sel,$attribute); ?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('reg05_l23_3_4', 'l23_3_4', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-md-3">
                                                <?php  
                                                        $attribute = 'class="selectpicker show-tick form-control" title="Seleccione"'; 
                                                        echo form_dropdown('l23_3_4', $l23_3_4, $l23_3_4_sel,$attribute); ?>
                                            </div>
                                        </div>
                                        <hr>
                                        <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('cuest/reg01/reg04_cultivos_agricolas', 'ATRAS', array('class' => 'btn btn-default btn-flat')); ?>
                                                </div>
                                            </div>
                                        </div>
                                    <?php echo form_close();?>
                                </div>
                            </div>
                         </div>
                    </div>
                </section>
            </div>
