Blame view

frontend/views/user-info/_form.php 1.56 KB
1face72c   Yarik   test
1
2
3
4
5
6
  <?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
cdb04594   Yarik   test
7
  /* @var $model common\models\UserInfo */
1face72c   Yarik   test
8
9
10
  /* @var $form yii\widgets\ActiveForm */
  ?>
  
cdb04594   Yarik   test
11
  <div class="user-info-form">
1face72c   Yarik   test
12
13
14
  
      <?php $form = ActiveForm::begin(); ?>
  
cdb04594   Yarik   test
15
      <?= $form->field($model, 'user_id')->textInput() ?>
1face72c   Yarik   test
16
  
cdb04594   Yarik   test
17
      <?= $form->field($model, 'view_count')->textInput() ?>
1face72c   Yarik   test
18
  
cdb04594   Yarik   test
19
      <?= $form->field($model, 'busy')->textInput(['maxlength' => true]) ?>
1face72c   Yarik   test
20
  
cdb04594   Yarik   test
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
      <?= $form->field($model, 'date_visit')->textInput() ?>
  
      <?= $form->field($model, 'experience')->textInput() ?>
  
      <?= $form->field($model, 'rank')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($model, 'salary')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($model, 'job')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($model, 'location')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($model, 'soft')->textInput() ?>
  
      <?= $form->field($model, 'guarantee')->textInput() ?>
  
      <?= $form->field($model, 'contract')->textInput() ?>
  
      <?= $form->field($model, 'estimate')->textInput() ?>
  
      <?= $form->field($model, 'purchase')->textInput() ?>
  
      <?= $form->field($model, 'delivery')->textInput() ?>
  
      <?= $form->field($model, 'prepayment')->textInput() ?>
  
      <?= $form->field($model, 'about')->textarea(['rows' => 6]) ?>
1face72c   Yarik   test
48
49
50
51
52
53
54
55
  
      <div class="form-group">
          <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
      </div>
  
      <?php ActiveForm::end(); ?>
  
  </div>