Browse Source

fixed field type

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
fc402dc378
  1. 2
      apps/advanced/frontend/views/site/signup.php

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

@ -16,7 +16,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')->checkbox(); ?> <?php echo $form->field($model, 'email')->textInput(); ?>
<?php echo $form->field($model, 'password')->textInput(); ?> <?php echo $form->field($model, 'password')->textInput(); ?>
<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')); ?>

Loading…
Cancel
Save