From 216f8a2546f253d10e7b9ff5c02f41863ea89327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jir=CC=8Ci=CC=81=20Svoboda?= Date: Wed, 7 Jan 2015 14:43:55 +0100 Subject: [PATCH] Views updated --- generators/crud/metronic/views/_form.php | 2 +- generators/crud/metronic/views/update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/crud/metronic/views/_form.php b/generators/crud/metronic/views/_form.php index b600266..15e3295 100644 --- a/generators/crud/metronic/views/_form.php +++ b/generators/crud/metronic/views/_form.php @@ -17,7 +17,7 @@ ?> use yii\helpers\Html; -use yii\widgets\ActiveForm; +use dlds\metronic\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model modelClass, '\\') ?> */ diff --git a/generators/crud/metronic/views/update.php b/generators/crud/metronic/views/update.php index 54c815e..f4e7767 100644 --- a/generators/crud/metronic/views/update.php +++ b/generators/crud/metronic/views/update.php @@ -17,7 +17,7 @@ /* @var $this yii\web\View */ /* @var $model modelClass, '\\') ?> */ -$this->title = generateString('Update {modelClass}: ', ['modelClass' => Inflector::camel2words(StringHelper::basename($generator->modelClass))]) ?> . ' ' . $model->__toString() ?>; +$this->title = generateString('Update {modelClass}: ', ['modelClass' => Inflector::camel2words(StringHelper::basename($generator->modelClass))]) ?>; $this->params['breadcrumbs'][] = ['label' => generateString(Inflector::pluralize(Inflector::camel2words(StringHelper::basename($generator->modelClass)))) ?>, 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->__toString(), 'url' => ['view', ]]; $this->params['breadcrumbs'][] = generateString('Update') ?>;