From ffd52356843cd3b7d5375a28e758a53ae6c67f17 Mon Sep 17 00:00:00 2001 From: Luciano Baraglia Date: Wed, 16 Oct 2013 00:01:44 -0300 Subject: [PATCH] GII create object button style [skip ci] --- framework/yii/gii/generators/crud/templates/views/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/yii/gii/generators/crud/templates/views/index.php b/framework/yii/gii/generators/crud/templates/views/index.php index 1de548a..96f8390 100644 --- a/framework/yii/gii/generators/crud/templates/views/index.php +++ b/framework/yii/gii/generators/crud/templates/views/index.php @@ -33,7 +33,7 @@ $this->params['breadcrumbs'][] = $this->title; indexWidgetType === 'grid' ? ' //' : ''); ?> echo $this->render('_search', array('model' => $searchModel)); ?>

- echo Html::a('Create modelClass); ?>', array('create'), array('class' => 'btn btn-danger')); ?> + echo Html::a('Create modelClass); ?>', array('create'), array('class' => 'btn btn-success')); ?>

indexWidgetType === 'grid'): ?>