<h2>书管列表</h2><?php echo CHtml::link('添加书管', array('bookmanage/create'));?>
<?php $this->widget('admin.widgets.TableCover');?>
<?php $this->renderPartial('_search');?>
<?php $this->widget('zii.widgets.grid.CGridView', array(
	'dataProvider'=>$dataProvider,
    'itemsCssClass' => 'widefat post',
    'summaryText'=>'显示{start}-{end}条 总共{count}条',
    'columns' => array(
        'bookmanageid',
        'bookid',
        'uid',
        'username',
        array(
            'name' => 'status',
            'value' => '$data->getStatus()'
        ),
        'digest',
        'createdate',
        'updatedate',
        'remarks',
        array(
            'class'=>'CButtonColumn',
            'template' => '{update}',
            'header' => '操作',
            'buttons' => array(
                'update' => array(
                    'imageUrl' => '',
                    'label' => '修改'
                ),
            ),
        ),
    ),
));