<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>


    <span class="add-on">Datum</span>
    <?php $form->widget('zii.widgets.jui.CJuiDatePicker', array(
        'model' => $model,
        'attribute' => 'datum',
        'value' => $model->datum,
        'options' => array(
            'showButtonPanel' => true,
            'changeYear' => true,
            'dateFormat' => 'yy-mm-dd',
        ),
    ));
    ; ?>
</div>


	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Filtriraj',
		)); ?>
	</div>

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