Skip to content

Commit

Permalink
Views updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jirisvoboda committed Jan 7, 2015
1 parent 62d81a9 commit 216f8a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/crud/metronic/views/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
?>

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use dlds\metronic\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model <?= ltrim($generator->modelClass, '\\') ?> */
Expand Down
2 changes: 1 addition & 1 deletion generators/crud/metronic/views/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/* @var $this yii\web\View */
/* @var $model <?= ltrim($generator->modelClass, '\\') ?> */

$this->title = <?= $generator->generateString('Update {modelClass}: ', ['modelClass' => Inflector::camel2words(StringHelper::basename($generator->modelClass))]) ?> . ' ' . $model->__toString() ?>;
$this->title = <?= $generator->generateString('Update {modelClass}: ', ['modelClass' => Inflector::camel2words(StringHelper::basename($generator->modelClass))]) ?>;
$this->params['breadcrumbs'][] = ['label' => <?= $generator->generateString(Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass)))) ?>, 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->__toString(), 'url' => ['view', <?= $urlParams ?>]];
$this->params['breadcrumbs'][] = <?= $generator->generateString('Update') ?>;
Expand Down

0 comments on commit 216f8a2

Please sign in to comment.