Blame view

protected/modules/admin/gii/bcrud/templates/default/update.php 727 Bytes
a1684257   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  <?php
  echo "<?php\n";
  $nameColumn=$this->guessNameColumn($this->tableSchema->columns);
  $label=$this->pluralize($this->class2name($this->modelClass));
  ?>
  $this->actionsMenu = array(
  array('label' => 'Добавить <?php echo $this->modelClass; ?>', 'url' => array('create'), 'icon'=>'icon-plus', 'active'=>'/'.$this->id.'\/create/'),
  array('label' => 'Управление <?php echo $this->modelClass; ?>', 'url' => array('admin'), 'icon'=>'icon-list', 'active'=>'/'.$this->id.'\/admin/'),
  );
  ?>
  
  
  <h1>Редактирование <?php echo $this->modelClass." <?php echo \$model->{$this->tableSchema->primaryKey}; ?>"; ?></h1>
  <br/>
  
  <?php echo "<?php echo \$this->renderPartial('_form', array('model'=>\$model)); ?>"; ?>