| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- /*
- * This file is part of the Dektrium project
- *
- * (c) Dektrium project <http://github.com/dektrium>
- *
- * For the full copyright and license information, please view the LICENSE.md
- * file that was distributed with this source code.
- */
- use yii\bootstrap\ActiveForm;
- use yii\helpers\Html;
- /**
- * @var yii\web\View $this
- * @var dektrium\user\models\User $user
- * @var dektrium\user\models\Profile $profile
- */
- ?>
- <?php $this->beginContent('@dektrium/user/views/admin/update.php', ['user' => $user]) ?>
- <?php $form = ActiveForm::begin([
- 'layout' => 'horizontal',
- 'enableAjaxValidation' => true,
- 'enableClientValidation' => false,
- 'fieldConfig' => [
- 'horizontalCssClasses' => [
- 'wrapper' => 'col-sm-9',
- ],
- ],
- ]); ?>
- <?= $form->field($profile, 'firma_full') ?>
- <?= $form->field($profile, 'inn') ?>
- <?= $form->field($profile, 'zkpo') ?>
- <?= $form->field($profile, 'u_address') ?>
- <?= $form->field($profile, 'f_address') ?>
- <?= $form->field($profile, 'member') ?>
- <?= $form->field($profile, 'phone') ?>
- <?= $form->field($profile, 'fax') ?>
- <?= $form->field($profile, 'member_email') ?>
- <?= $form->field($profile, 'site') ?>
- <?= $form->field($profile, 'files') ?>
- <div class="form-group">
- <div class="col-lg-offset-3 col-lg-9">
- <?= Html::submitButton(Yii::t('user', 'Update'), ['class' => 'btn btn-block btn-success']) ?>
- </div>
- </div>
- <?php ActiveForm::end(); ?>
- <?php $this->endContent() ?>
|