<?php $this->load->view('template/head_front.php'); ?>
<?php $this->load->view('template/header.php'); ?>
<style>
.footer {
  width: auto;
}
</style>
<body>
    <div class="container">
        <?php // $this->load->view('template/header.php');      ?>
        <?php $form_data          = ['name' => 'registro_form', 'id' => 'registro-form', 'class' => 'registro-form create-form-view']; ?>
        <div class="row">
            <div class="container">
                <h3 style="text-align: center; margin-top: 50px;"><?= $titulo ?></h3>
            </div>
        </div>
        <div class="row contenedor-form" style="margin-top: 40px; text-align: center;">
            <div>
                <div class="col-lg-5 col-md-5" style="">
                    <?php echo form_open('registros', $form_data); ?>
                    <div class="form-group input-type"> 
                        <div class="input-group">
                            <div class="input-group-addon">
                                <i class="fa fa-user"></i>
                            </div>
                            <?=
                             form_input([
                               'name'                   => 'NUM_IDETER',
                               'autofocus'              => true,
                               'id'                     => 'NUM_IDETER', 'data-parsley-type'      => 'integer', 'data-parsley-minlength' => '4',
                               'class'                  => 'form-control', 'required'               => '', 'placeholder'            => 'Digite la Cédula'])
                            ?>   
                        </div>
                    </div> 
                </div>
                <div class="col-lg-3 col-md-3" style="">
                    <div class="input-group submit-forms">
                        <?php echo form_submit('submit', 'Registrar', "class='btn btn-success' style='padding: 6px;'"); ?>
                    </div> 
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-8 col-md-8">
                <h3 id="message-ajax" class="text-center" style="font-size: 40px;"></h3>
            </div>
        </div>

        <?php echo form_close(); ?>

        <?php
         $data_view['loajs'] = $load_js;
         $this->load->view('template/footer_front.php', $data_view);
        ?>


