Permalink
Browse files

removed hardcoded paths

  • Loading branch information...
1 parent 8eb46d9 commit 2b0878e2773a6889337046f6ce873bc568832ead @schmunk42 committed Sep 25, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 fullCrud/templates/slim/admin.php
  2. +1 −1 fullCrud/templates/slim/view.php
@@ -31,7 +31,7 @@
<?php echo "<?php
\$locale = CLocale::getInstance(Yii::app()->language);\n
-"; ?> $this->widget('ext.crisu83.yii-bootstrap.widgets.TbGridView', array(
+"; ?> $this->widget('TbGridView', array(
'id'=>'<?php echo $this->class2id($this->modelClass); ?>-grid',
'dataProvider'=>$model->search(),
'filter'=>$model,
@@ -53,7 +53,7 @@
echo "\t\t*/\n";
?>
array(
-'class'=>'ext.crisu83.yii-bootstrap.widgets.TbButtonColumn',
+'class'=>'TbButtonColumn',
'viewButtonUrl' => "Yii::app()->controller->createUrl('view', array('<?php echo $this->tableSchema->primaryKey; ?>' => \$data-><?php echo $this->tableSchema->primaryKey; ?>))",
'updateButtonUrl' => "Yii::app()->controller->createUrl('update', array('<?php echo $this->tableSchema->primaryKey; ?>' => \$data-><?php echo $this->tableSchema->primaryKey; ?>))",
'deleteButtonUrl' => "Yii::app()->controller->createUrl('delete', array('<?php echo $this->tableSchema->primaryKey; ?>' => \$data-><?php echo $this->tableSchema->primaryKey; ?>))",
@@ -20,7 +20,7 @@
<p>
<?php
echo "<?php
- \$this->widget('ext.crisu83.yii-bootstrap.widgets.TbDetailView', array(
+ \$this->widget('TbDetailView', array(
'data'=>\$model,
'attributes'=>array(
";

0 comments on commit 2b0878e

Please sign in to comment.