6 'Papers'=>array(
'index'),
11 array(
'label'=>
'List Paper',
'url'=>array(
'index')),
12 array(
'label'=>
'Create Paper',
'url'=>array(
'create')),
15 Yii::app()->clientScript->registerScript(
'search',
"
16 $('.search-button').click(function(){
17 $('.search-form').toggle();
20 $('.search-form form').submit(function(){
21 $.fn.yiiGridView.update('paper-grid', {
22 data: $(this).serialize()
29 <h1>Manage Papers</h1>
32 You may optionally enter a comparison operator (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b>
33 or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
36 <?php echo CHtml::link(
'Advanced Search',
'#',array(
'class'=>
'search-button')); ?>
37 <div
class=
"search-form" style=
"display:none">
38 <?php $this->renderPartial(
'_search',array(
41 </div><!-- search-form -->
43 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
45 'dataProvider'=>$model->search(),
55 'class'=>
'CButtonColumn',