Blame view

frontend/views/user-info/_form.php 1.56 KB
1face72c   Yarik   test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
48
49
50
51
52
53
54
55
  <?php
  
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
  
  /* @var $this yii\web\View */
  /* @var $model common\models\UserInfo */
  /* @var $form yii\widgets\ActiveForm */
  ?>
  
  <div class="user-info-form">
  
      <?php $form = ActiveForm::begin(); ?>
  
      <?= $form->field($model, 'user_id')->textInput() ?>
  
      <?= $form->field($model, 'view_count')->textInput() ?>
  
      <?= $form->field($model, 'busy')->textInput(['maxlength' => true]) ?>
  
      <?= $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]) ?>
  
      <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>