['enctype'=> 'multipart/form-data'], 'method'=>'post','action' => 'site/signup']); ?> field(new AccountsForm(), 'is_firm')->hiddenInput(['value'=>'0'])->label(false) ?> field(new AccountsForm(), 'company')->hiddenInput(['value'=>'Частное лицо'])->label(false) ?> field(new AccountsForm(), 'name')->textInput(['maxlength' => 45,'placeholder'=>'Имя'])->label(false) ?> field(new AccountsForm(), 'surname')->textInput(['maxlength' => 45,'placeholder'=>'Фамилия'])->label(false) ?> field(new AccountsForm(), 'phones')->textInput(['maxlength' => 45,'placeholder'=>'Телефон'])->label(false) ?> field(new AccountsForm(), 'email')->textInput(['maxlength' => 45,'placeholder'=>'E-mail','class'=>'form-control telephone_registration'])->label(false) ?> field(new AccountsForm(), 'pass')->passwordInput(['maxlength' => 45,'placeholder'=>'Пароль','class'=>'form-control telephone_registration'])->label(false) ?> field(new AccountsForm(), 're_pass')->passwordInput(['maxlength' => 45,'placeholder'=>'Пароль','class'=>'form-control telephone_registration'])->label(false) ?> field(new AccountsForm(), 'country',['options'=>['class'=>'selectize_item2' ]])->dropDownList( ArrayHelper::map(DicCities::find()->where(['parent' => 0])->all(), 'id', 'name'), ['prompt' => 'Выберите область'] )->label(false); ?> field(new AccountsForm(), 'city',['options'=>['class'=>'selectize_item2' ]])->dropDownList( [], ['prompt' => 'Выберите город'] )->label(false); ?> field(new AccountsForm(), 'deliveries',['options'=>['class'=>'selectize_item2' ]])->dropDownList( ArrayHelper::map(Deliveries::find()->all(), 'id', 'name'), ['prompt' => 'Выберите тип перевозки'] )->label(false); ?> field(new AccountsForm(), 'verifyCode')->widget(Captcha::className(), [ 'options'=>['placeholder'=>'Введите код' ], 'template' => '
{input}
{image}
', ])->label(false); ?>