Browse Source

Password input in advanced app signup [ci skip]

tags/2.0.0-beta
Luciano Baraglia 12 years ago
parent
commit
aff33aaa9f
  1. 2
      apps/advanced/frontend/views/site/signup.php

2
apps/advanced/frontend/views/site/signup.php

@ -17,7 +17,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $form = ActiveForm::begin(array('options' => array('class' => 'form-horizontal'))); ?> <?php $form = ActiveForm::begin(array('options' => array('class' => 'form-horizontal'))); ?>
<?php echo $form->field($model, 'username')->textInput(); ?> <?php echo $form->field($model, 'username')->textInput(); ?>
<?php echo $form->field($model, 'email')->textInput(); ?> <?php echo $form->field($model, 'email')->textInput(); ?>
<?php echo $form->field($model, 'password')->textInput(); ?> <?php echo $form->field($model, 'password')->passwordInput(); ?>
<div class="form-actions"> <div class="form-actions">
<?php echo Html::submitButton('Signup', array('class' => 'btn btn-primary')); ?> <?php echo Html::submitButton('Signup', array('class' => 'btn btn-primary')); ?>
</div> </div>

Loading…
Cancel
Save