<?php
/* @var $this UtilidadController */
/* @var $consultar Utilidad */
/* @var $form CActiveForm */
?>

     <div class="row justify-content-center mt-3">

<div class=" form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
         'htmlOptions' => array(
                'class' => 'form-horizontal mt-3'
         )
    
)); ?>
 
    
          <div class="row  mb-2">
                 <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4  ">
                   <div class="form-group ">
                     <?php echo $form->labelEx($consultar, 'desde', array('class' => 'col-12 mdi mdi-calendar-blank mdi-18px')); ?>
                     <div class="col-12">

                        <?php
                        $this->widget('ext.YiiDateTimePicker.jqueryDateTime', array(
                            'model' => $consultar,
                            'attribute' => 'desde',
                            'options' => array(
                                'lang'=>'es',
                                'timepicker'=>false,
                                'format'=>'Y-m-d'),
                            'htmlOptions' => array('class' => 'form-control form-control-line','placeholder'=>"AAAA/MM/DD"),
                        ));
                        
                        ?>
                  
                     </div>
                 </div>
                    </div>
            
                 <div class="col-12 col-sm-12 col-md-4 col-lg-4 col-xl-4  ">
                             <div class="form-group ">
                     <?php echo $form->labelEx($consultar, 'hasta', array('class' => 'col-md-12 mdi mdi-calendar-blank mdi-18px')); ?>
                     <div class="col-12">

                        <?php
                        $this->widget('ext.YiiDateTimePicker.jqueryDateTime', array(
                            'model' => $consultar,
                            'attribute' => 'hasta',
                            'options' => array(
                                'lang'=>'es',
                                'timepicker'=>false,
                                'format'=>'Y-m-d'),
                            'htmlOptions' => array('class' => 'form-control form-control-line','placeholder'=>"AAAA/MM/DD"),
                        ));
                        
                        ?>
                
                     </div>
                 </div>
                    </div>
              
                  <div class="col-12 col-sm-12 col-md-3 col-lg-3 col-xl-3 m-t-20 ">
            <div class="form-group">
                  <?php echo CHtml::submitButton('BUSCAR ',array('class'=>'btn btn-block btn-success fa fa-search  font-weight-medium mt-3')); ?>
           </div>
        </div> 
              
            
        </div>

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

</div>    

     </div>
