Blame view

protected/modules/admin/views/contact/admin.php 626 Bytes
a1684257   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  <?php
  
  $this->actionsMenu = array(
      array('label' => 'Добавить сотрудника', 'url' => array('create'), 'icon' => 'icon-plus', 'active' => '/' . $this->id . '\/create/'),
  );
  
  ?>
  
  <h1>Управление списком сотрудников</h1>
  <br/>
  <?php $this->widget('BGridView', array(
      'id' => 'contact-grid',
      'dataProvider' => $model->search(),
      'filter' => $model,
      'columns' => array(
  //        'id',
          'i18n.name',
          'email',
          'phone',
          array(
              'class' => 'CButtonColumn',
              'template' => '{update} {delete}',
          ),
      ),
  )); ?>