Blame view

frontend/views/accounts/cabinet.php 1.73 KB
6310a439   Administrator   firs page
1
  <?php
8e7a541c   Administrator   firs page
2
3
4
  use common\models\Option;
  use yii\helpers\Html;
  use yii\widgets\ActiveForm;
cd6bd007   Yarik   test
5
      $this->title = 'Мой профиль';
6310a439   Administrator   firs page
6
7
8
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  
cd6bd007   Yarik   test
9
10
  <h1><?=  $this->title ?></h1>
  
8e7a541c   Administrator   firs page
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
56
57
58
59
  <?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() ?>
  
      <?= $form->field($user_info, 'view_count')->textInput() ?>
  
      <?= $form->field($user_info, 'busy')->textInput(['maxlength' => true]) ?>
  
      <?= $form->field($user_info, 'date_visit')->textInput() ?>
  
      <?= $form->field($user_info, 'experience')->textInput() ?>
  
      <?= $form->field($user_info, 'rank')->textInput(['maxlength' => true]) ?>
  
      <?= $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]) ?>
  
      <div class="form-group">
          <?= Html::submitButton('Create', ['class' => 'btn btn-success']) ?>
      </div>
  
  <?php ActiveForm::end(); ?>