Simplified button signature.
This commit is contained in:
parent
1b93fcb58d
commit
5b3971756a
@ -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(); ?>
|
||||
|
@ -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(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user