Simplified button signature.

This commit is contained in:
Qiang Xue 2013-06-19 08:54:09 -04:00
parent 1b93fcb58d
commit 5b3971756a
2 changed files with 2 additions and 2 deletions

View File

@ -36,6 +36,6 @@ $this->params['breadcrumbs'][] = $this->title;
'options' => array('class' => 'input-medium'),
)); ?>
<div class="form-actions">
<?php echo Html::submitButton('Submit', null, null, array('class' => 'btn btn-primary')); ?>
<?php echo Html::submitButton('Submit', array('class' => 'btn btn-primary')); ?>
</div>
<?php ActiveForm::end(); ?>

View File

@ -22,6 +22,6 @@ $this->params['breadcrumbs'][] = $this->title;
<?php echo $form->field('password')->passwordInput(); ?>
<?php echo $form->field('rememberMe')->checkbox(); ?>
<div class="form-actions">
<?php echo Html::submitButton('Login', null, null, array('class' => 'btn btn-primary')); ?>
<?php echo Html::submitButton('Login', array('class' => 'btn btn-primary')); ?>
</div>
<?php ActiveForm::end(); ?>