2ff00662
Administrator
firs page
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
?>
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($user, 'username')->textInput() ?>
<?= $form->field($user, 'lastname')->textInput() ?>
<?= $form->field($user, 'firstname')->textInput() ?>
<?= $form->field($user, 'email')->textInput() ?>
<?= $form->field($user_info, 'user_id')->textInput() ?>
|
2ff00662
Administrator
firs page
|
20
21
|
<?= $form->field($user_info, 'busy')->textInput(['maxlength' => true]) ?>
|
2ff00662
Administrator
firs page
|
22
23
|
<?= $form->field($user_info, 'experience')->textInput() ?>
|
2ff00662
Administrator
firs page
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?= $form->field($user_info, 'salary')->textInput(['maxlength' => true]) ?>
<?= $form->field($user_info, 'job')->textInput(['maxlength' => true]) ?>
<?= $form->field($user_info, 'location')->textInput(['maxlength' => true]) ?>
<?= $form->field($user_info, 'soft')->textInput() ?>
<?= $form->field($user_info, 'guarantee')->textInput() ?>
<?= $form->field($user_info, 'contract')->textInput() ?>
<?= $form->field($user_info, 'estimate')->textInput() ?>
<?= $form->field($user_info, 'purchase')->textInput() ?>
<?= $form->field($user_info, 'delivery')->textInput() ?>
<?= $form->field($user_info, 'prepayment')->textInput() ?>
<?= $form->field($user_info, 'about')->textarea(['rows' => 6]) ?>
|
a92850cf
Administrator
firs page
|
46
47
48
|
<?= \common\widgets\FieldEditor::widget([
'template'=>'education',
'item_id'=> $user->id,
|
70abf3e7
Administrator
add field v.1
|
49
50
|
'model'=>'common\models\User',
'language'=>'0'
|
a92850cf
Administrator
firs page
|
51
|
]); ?>
|
2ff00662
Administrator
firs page
|
52
53
54
55
56
57
58
|
<div class="form-group">
<?= Html::submitButton('Create', ['class' => 'btn btn-success']) ?>
</div>
<?php ActiveForm::end(); ?>
|