Commits

Christoffer Niska committed d5c099f

Fixed submit buttons in node/create and node/update.

Comments (0)

Files changed (2)

themes/bootstrap/views/cms/node/create.php

 		</fieldset>
 
 		<div class="form-actions">
-			<?php echo CHtml::htmlButton(Yii::t('CmsModule.core','Create'),array('class'=>'btn btn-primary')) ?>
+			<?php echo CHtml::htmlButton(Yii::t('CmsModule.core','Create'),array(
+				'class'=>'btn btn-primary',
+				'type'=>'submit',
+			)) ?>
 		</div>
 
 	<?php $this->endWidget() ?>

themes/bootstrap/views/cms/node/update.php

 
 		<div class="form-actions row">
 			<div class="pull-left">
-				<?php echo CHtml::htmlButton(Yii::t('CmsModule.core','Save'),array('class'=>'btn btn-primary')) ?>
+				<?php echo CHtml::htmlButton(Yii::t('CmsModule.core','Save'),array(
+					'class'=>'btn btn-primary',
+					'type'=>'submit',
+				)) ?>
 			</div>
 			<div class="pull-right">
 				<?php echo CHtml::link(Yii::t('CmsModule.core','Delete'),array('delete','id'=>$model->id),array(