<?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('lotes_create'); ?></h3>
                                </div>
                                <div class="box-body">
                                    <?php echo $message;?>	
									
                                    <?php echo form_open(current_url(), array('class' => 'form-horizontal', 'id' => 'form-create_lotes')); ?>

                                        <!--div class="form-group">
                                            <?php echo lang('lotes_id', 'gid', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-2">
                                                <?php echo form_input($gid);?>
                                            </div>
                                        </div-->


                                       <div class="form-group">
                                            <?php echo lang('lotes_id', 'gid', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_input($gid);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('lotes_nombre', 'nombre', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_input($nombre);?>
                                            </div>
                                        </div>                                   
                                     
              				<div class="form-group">
                                            <?php echo lang('lotes_cod_catast', 'cod_catast', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_input($cod_catast);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('lotes_distrito', 'distrito', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_input($distrito);?>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('lotes_manzano', 'manzano', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_input($manzano);?>
                                            </div>
                                        </div>                                        
                                        <div class="form-group">
                                            <?php echo lang('lotes_lote', 'lote', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_textarea($lote) ?>                   
                                            </div>                                            
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('lotes_zonas', 'zonas', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_textarea($zonas) ?>                   
                                            </div>                                            
                                        </div>
                                        <div class="form-group">
                                            <?php echo lang('lotes_sup_m2', 'sup_m2', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_textarea($sup_m2) ?>                   
                                            </div>                                            
                                        </div>                                                                                                                      
                                        <div class="form-group">
                                            <?php echo lang('lotes_obs', 'obs', array('class' => 'col-sm-2 control-label')); ?>
                                            <div class="col-sm-3">
                                                <?php echo form_textarea($obs) ?>                   
                                            </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('ficha_catastral/lotes', lang('actions_cancel'), array('class' => 'btn btn-default btn-flat')); ?>
                                                </div>
                                            </div>
                                        </div>
                                    <?php echo form_close();?>
                                </div>
                            </div>
                         </div>
                    </div>
                </section>
            </div>