<?php Yii::app()->clientScript->scriptMap = array('jquery.js'=>false);?>
* 图片后面为到期时间，空表示永久勋章
<br/>
<?php
$form = $this->beginWidget('CActiveForm', array(
        'id' => 'medals',
        'htmlOptions' => array(
            'class' => 'form',
        ),
    )
);
?>


勋章ID<?php echo CHtml::textField('medal', '', array('size'=>5));?> <?php echo CHtml::image($medal['image']);?> <?php $this->widget('zii.widgets.jui.CJuiDatePicker', array('name'=>'expire', 'value'=>'', 'language' => 'zh_cn', 'options' => array('dateFormat'=>'yy-mm-dd')));?> <br/>
<?php echo CHtml::ajaxSubmitButton('保存', '', array('success'=>'js:function(status){ if (1 == status) {$.fancybox.close();}}')); ?>

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