PATH:
home
/
letacommog
/
letaweb
/
protected
/
modules
/
admin
/
views
/
modulecategory
<div class=""> <div class="row"> <div class="col-md-12"> <div class="panel"> <div class="panel-title"> <h5>Module Category list</h5> </div> <div class="panel-body"> <div class="btn-group"> <?php echo CHtml::link('Add', array('modulecategory/create'), array('class' => 'btn font-plus')); ?> </div> <?php $columns = array( array( 'id' => 'autoId', 'class' => 'CCheckBoxColumn', 'selectableRows' => '50', ), array( 'header' => CHtml::encode('ID'), 'name' => 'id', ), array( 'header' => CHtml::encode('Name'), 'name' => 'name', ), array( 'class' => 'CGridButtonColumn', ), ); $form = $this->beginWidget('CActiveForm', array( 'enableAjaxValidation' => true, )); $this->widget('booster.widgets.TbGridView', array( 'id' => 'user-grid', 'type' => 'striped bordered', 'dataProvider' => $model->search(), 'columns' => $columns, )); ?> <?php echo CGridControls::ajaxDeleteButton('Delete', array('modulecategory/ajaxupdate', 'act' => 'doDelete'), array('success' => 'reloadGrid'), array('class' => 'btn btn-danger font-trash')); ?> <?php $this->endWidget(); ?> </div> </div> </div> </div> </div> <script> function reloadGrid(data) { $.fn.yiiGridView.update('user-grid'); } </script>
[+]
..
[-] view.php
[edit]
[-] index.php
[edit]
[-] form.php
[edit]
[-] create.php
[edit]
[-] update.php
[edit]
[-] midnav.php
[edit]