cabinet.php 1.73 KB
<?php
use common\models\Option;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
    $this->title = 'Мой профиль';
$this->params['breadcrumbs'][] = $this->title;
?>

<h1><?=  $this->title ?></h1>

<?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(); ?>