<?php
/* @var $this BancoController */
/* @var $model Banco */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'banco-form',
	'enableAjaxValidation'=>true,
        'htmlOptions' => array(
                'class' => 'form-horizontal'
            )
)); ?>

    
    
    <div class="row justify-content-center p-2 ">
        
        <div class="col-12">
            <div class="row justify-content-center mt-3">
        <div class="col-12 col-sm-12 col-md-10 col-lg-0 col-xl-10 ">
            <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-3 col-lg-3 col-xl-3">
             <div class="form-group">
		<?php echo $form->labelEx($model,'estatus', array('class' => 'col-12 text-uppercase')); ?>
            <div class="col-12">
                    <?php echo $form->dropdownList($model,'estatus',array(1=>'ACTIVO',0=>'INACTIVO'),  array('class'=>'form-control form-control-line')); ?> 
		<?php echo $form->error($model,'estatus'); ?>  
            </div>
        </div>
        </div>
   
        
        <div class="col-12 col-sm-12 col-md-7 col-lg-7 col-xl-7 ">
             <div class="form-group">
		<?php echo $form->labelEx($model,'descripcion', array('class' => 'col-12 text-uppercase')); ?>
		<div class="col-12">
                <?php echo $form->textField($model,'descripcion',array('size'=>60,'maxlength'=>100,
                    'class' => 'form-control form-control-line ', 
                    'placeholder'=>"")); ?>
                <?php echo $form->error($model,'descripcion'); ?>
	       </div>
             </div>
         </div>
    </div>
   
            
        </div>
        
  </div>
    
    
        
 <div class="row justify-content-end">
               
         <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4 mb-2">
             <button type="reset" class="btn btn-large btn-block btn-default  ">
                         <i class="fa  fa-eraser fa-lg   "></i>     LIMPIAR FORMULARIO</button>
                   </div>  <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-success  ">
                            <i class="fa fa-floppy-o fa-lg   "></i>    <?php echo $model->isNewRecord ? "GUARDAR" : "MODIFICAR"; ?></button>
                   </div> 
         
        </div>
    

    <?php $this->endWidget(); ?>
</div>

