_account.php 756 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /*
  3. * This file is part of the Dektrium project
  4. *
  5. * (c) Dektrium project <http://github.com/dektrium>
  6. *
  7. * For the full copyright and license information, please view the LICENSE.md
  8. * file that was distributed with this source code.
  9. */
  10. use yii\bootstrap\ActiveForm;
  11. use yii\helpers\Html;
  12. /*
  13. * @var yii\web\View $this
  14. * @var dektrium\user\models\User $user
  15. */
  16. ?>
  17. <?php $this->beginContent(__DIR__ . '/update.php', ['user' => $user]) ?>
  18. <?php $form = ActiveForm::begin(); ?>
  19. <?= $this->render('_user', ['form' => $form, 'user' => $user]) ?>
  20. <div class="form-group">
  21. <?= Html::submitButton( Yii::t('app', 'Update'), ['class' => 'btn bg-maroon btn-flat btn-block']) ?>
  22. </div>
  23. <?php ActiveForm::end(); ?>
  24. <?php $this->endContent() ?>