<?phpuseyii\helpers\Html;useyii\widgets\ActiveForm;/** * @var yii\base\View $this * @var yii\widgets\ActiveForm $form * @var common\models\User $model */$this->title='Signup';$this->params['breadcrumbs'][]=$this->title;?><h1><?phpechoHtml::encode($this->title);?></h1><p>Please fill out the following fields to signup:</p><?php$form=ActiveForm::begin(array('options'=>array('class'=>'form-horizontal')));?><?phpecho$form->field($model,'username')->textInput();?>