title = 'Регистрация';
$this->params['breadcrumbs'][] = $this->title;
$this->registerJsFile(Yii::$app->request->baseUrl.'/js/jquery.mask.js',['position'=>View::POS_END,'depends'=>['yii\web\YiiAsset']]);
$this->registerJs("
$('#customer-phone').mask('(000) 000-0000');
", View::POS_READY, 'mask');
?>
= Html::encode($this->title) ?>
'reg-form',
'options' => ['class' => 'form-vertical']
]); ?>
= $form->field($model, 'username') ?>
= $form->field($model, 'password')->passwordInput() ?>
= $form->field($model, 'password_repeat')->passwordInput() ?>
= $form->field($model, 'name') ?>
= $form->field($model, 'surname') ?>
= $form->field($model, 'phone') ?>
= $form->field($model, 'verifyCode')->widget(Captcha::className(),['captchaAction'=>'reg/captcha']) ?>
= Html::submitButton(' Регистрация ', ['class' => 'btn btn-primary btn-lg btn-block', 'name' => 'login-button']) ?>