2amigos/yiiwheels

How to use WhDatePickerHelper?

Closed this issue · 1 comments

Hi, i want to use WhDatePickerHelper. But my code always tried like the document of yiiwheels, its not finish. I use yiistrap 1.3.0 and yiiwheels 1.0.4.
This my code :

widget('yiiwheels.widgets.formhelpers.WhDatePickerHelper', array( 'model' => $model, 'attribute' => 'CUR_DATE', 'inputOptions' => array('class' => 'input-medium'), 'name' => 'datepicker', ), true); ?>
            <?php echo TbHtml::customControlGroup($tanggal, $model, 'CUR_DATE', array('span'=>6)); ?>