6 'Customers'=>array(
'index'),
11 array(
'label'=>
'<i class="icon-th-list"></i> List Customers',
'url'=>array(
'index')),
12 array(
'label'=>
'<i class="icon-plus-sign"></i> Create Customer',
'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('personal-info-grid', {
22 data: $(this).serialize()
29 <div
class=
"page-header">
30 <h1>Manage Customers</h1>
34 You may optionally enter a comparison operator (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b>
35 or <b>=</b>) at the beginning of each of your search values to specify how the comparison should be done.
38 <?php echo CHtml::link(
'Advanced Search',
'#',array(
'class'=>
'search-button')); ?>
39 <div
class=
"search-form" style=
"display:none">
40 <?php $this->renderPartial(
'_search',array(
43 </div><!-- search-form -->
45 <?php $this->widget(
'zii.widgets.grid.CGridView', array(
46 'id'=>
'personal-info-grid',
47 'itemsCssClass'=>
'table table-striped table-bordered table-hover',
48 'dataProvider'=>$model->search(),
90 'class'=>
'CButtonColumn',