
<div class="form">

       
  <?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'zona-form',
        'htmlOptions'=>array('class'=>'form-horizontal'),
        'enableAjaxValidation'=>true,
        'clientOptions'=>array(
        'validateOnSubmit'=>true,
  ),
      
)); ?>
    
	<div class="row justify-content-center">
            <div class="col-12 col-sm-12 col-md-8 col-lg-8 col-xl-8">
                <p class="note">Los campos con <span class="required">*</span> son obligatorios.</p>
            </div> 
        </div>

	<div class="row justify-content-center"> 
            <div class="col-12 col-sm-12 col-md-8 col-lg-8 col-xl-8">
                        <div class="form-group">
                           <?php echo $form->labelEx($model,'descripcion', array('class' => 'col-12')); ?>
                           <div class="col-12">
                           <?php echo $form->textField($model,'descripcion',array('size'=>60,'maxlength'=>100,
                               'class' => 'form-control form-control-line text-uppercase','autocomplete' => 'off', )); ?>
                           <?php echo $form->error($model,'descripcion'); ?>
                          </div>
                        </div>
                </div>
            </div>

            <div class="row justify-content-center" >
                <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 mb-2">
                       <button type="submit" class="btn btn-large btn-block btn-primary  ">
                               <i class="fas fa-save fa-lg   "></i>    <?php echo $model->isNewRecord ? "GUARDAR" : "EDITAR"; ?></button>
                </div> 
            </div>
               
            <div class="row justify-content-center">
                <div class="col-12 col-sm-12 col-md-8 col-lg-8 col-xl-8">
                <?php echo $form->errorSummary($model); ?>
                </div>
            </div>
    
    
<?php $this->endWidget(); ?>
</div><!-- form -->



