Commits

Christoffer Niska  committed 7ace2c7

fixed gii templates (fixes #66)

  • Participants
  • Parent commits c74a69c
  • Branches 1.0.0-wip

Comments (0)

Files changed (2)

File gii/bootstrap/templates/default/_form.php

 ?>
 	<div class="form-actions">
 		<?php echo "<?php \$this->widget('bootstrap.widgets.BootButton', array(
-			'fn'=>'submit',
+			'buttonType'=>'submit',
 			'type'=>'primary',
 			'label'=>\$model->isNewRecord ? 'Create' : 'Save',
 		)); ?>\n"; ?>
 	</div>
 
-<?php echo "<?php \$this->endWidget(); ?>\n"; ?>
+<?php echo "<?php \$this->endWidget(); ?>\n"; ?>

File gii/bootstrap/templates/default/admin.php

 	echo "\t\t*/\n";
 ?>
 		array(
-			'class'=>'BootButtonColumn',
+			'class'=>'bootstrap.widgets.BootButtonColumn',
 		),
 	),
 )); ?>