?> <?php echo $form->field($model, 'email')->textInput(); ?> <?php echo $form->field($model, 'password')->passwordInput(); ?> <?php echo $form->field($model, 'confirm_password')->passwordInput(); ?> <?php echo $form->field($model, 'type_id')->dropDownList(ArrayHelper::map(Types::getData(), 'id', 'name'), ['prompt' => 'Select Type']); ?> <div class="form-group"> <div class="col-lg-offset-1 col-lg-11"> <?php echo Html::submitButton('Save', ['class' => 'btn btn-primary', 'name' => 'login-button']); ?> </div> </div> <?php ActiveForm::end(); ?> </div>