From 8e69c02e2bb4204c9cf37314117ee9452cdc4a4a Mon Sep 17 00:00:00 2001 From: Yasuo Harada Date: Thu, 8 Aug 2013 13:37:05 +0900 Subject: [PATCH] update 3.0.0-rc1 --- View/BoostCake/bootstrap3.ctp | 73 +++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 29 deletions(-) diff --git a/View/BoostCake/bootstrap3.ctp b/View/BoostCake/bootstrap3.ctp index 475305b..7a310d6 100644 --- a/View/BoostCake/bootstrap3.ctp +++ b/View/BoostCake/bootstrap3.ctp @@ -10,7 +10,7 @@
-

BoostCake Examples Bootstrap Version 3.0.0-wip

+

BoostCake Examples Bootstrap Version 3.0.0-rc1

Form->end(); ?> @@ -301,11 +315,12 @@ echo h("Form->create('BoostCake', array(
Form->create('BoostCake', array(
 	'inputDefaults' => array(
-		'div' => 'row',
+		'div' => 'form-group',
 		'label' => array(
 			'class' => 'col col-lg-2 control-label'
 		),
-		'wrapInput' => 'col col-lg-10'
+		'wrapInput' => 'col col-lg-10',
+		'class' => 'form-control'
 	),
 	'class' => 'well form-horizontal'
 )); ?>
@@ -346,6 +361,7 @@ echo h("Form->create('BoostCake', array(
 		'type' => 'radio',
 		'before' => '',
 		'legend' => false,
+		'class' => false,
 		'options' => array(
 			1 => 'Option one is this and that—be sure to include why it\'s great',
 			2 => 'Option two can be something else and selecting it will deselect option one'
@@ -374,25 +390,25 @@ echo h("Form->create('BoostCake', array(
 		'label' => array(
 			'text' => 'Show Error Message'
 		),
-		'class' => 'input-with-feedback',
 		'placeholder' => 'Password'
 	)); ?>
 	Form->input('password', array(
 		'label' => array(
 			'text' => 'Hide Error Message'
 		),
-		'class' => 'input-with-feedback',
 		'placeholder' => 'Password',
 		'errorMessage' => false
 	)); ?>
 	Form->input('checkbox', array(
 		'wrapInput' => 'col col-lg-10 col-offset-2',
 		'label' => array('class' => null),
+		'class' => false,
 		'afterInput' => 'Checkbox Bootstrap Style'
 	)); ?>
 	Form->input('checkbox', array(
 		'before' => '',
 		'label' => false,
+		'class' => false,
 		'wrapInput' => 'col col-lg-10',
 		'afterInput' => 'Checkbox CakePHP Style'
 	)); ?>
@@ -402,7 +418,7 @@ echo h("Form->create('BoostCake', array(
 				'div' => false,
 				'class' => 'btn btn-primary'
 			)); ?>
-			
+			
 		
 	
 Form->end(); ?>");
@@ -541,4 +557,3 @@ echo \$this->Session->flash();
 		
 	
 
-