diff --git a/extensions/yii/gii/generators/crud/templates/views/index.php b/extensions/yii/gii/generators/crud/templates/views/index.php index 3ad2138..a4f5f0d 100644 --- a/extensions/yii/gii/generators/crud/templates/views/index.php +++ b/extensions/yii/gii/generators/crud/templates/views/index.php @@ -33,7 +33,7 @@ $this->params['breadcrumbs'][] = $this->title; = "indexWidgetType === 'grid' ? "// " : "") ?>echo $this->render('_search', ['model' => $searchModel]); ?>
- = "= " ?>Html::a('Create = StringHelper::basename($generator->modelClass) ?>', ['create'], ['class' => 'btn btn-success']) ?> + = "= " ?>Html::a('Create = Inflector::camel2words(StringHelper::basename($generator->modelClass)) ?>', ['create'], ['class' => 'btn btn-success']) ?>
indexWidgetType === 'grid'): ?>