<div class="wide form">

    <?php $form = $this->beginWidget('GxActiveForm', array('action' => Yii::app()->createUrl($this->route),'method' => 'get')); ?>
        <div class="row">
            <?php echo $form->label($model, 'SIN_STATUS');?>
            <?php echo $form->dropDownList($model, 'SIN_STATUS', array(1 => 'Sincronizados', 0 => 'Revertidos'), array('prompt' => 'Todos'));?>
        </div>
        <div class="row">
            <?php echo $form->label($model, 'DTSINCRONIZACAO_INICIO'); ?>
            <?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'DTSINCRONIZACAO_INICIO')); ?> até 
            <?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'DTSINCRONIZACAO_FIM')); ?>
        </div>
        <div class="row">
            <?php echo $form->label($model, 'DTDESSINCRONIZACAO_INICIO'); ?>
            <?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'DTDESSINCRONIZACAO_INICIO')); ?> até 
            <?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'DTDESSINCRONIZACAO_FIM')); ?>
        </div>

        <div class="row buttons">
            <input type="hidden" name="busca" value="1" />
            <?php echo FaHtml::searchButton(); ?>
        </div>
    <?php $this->endWidget(); ?>

</div><!-- search-form -->