Rafalsky/HomeFinance

View on GitHub
wallet/views/sign-in/account.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\UserProfile */
/* @var $form yii\bootstrap\ActiveForm */
$this->title = \Yii::t('wallet', 'Edit account')
?>

<div class="user-profile-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'username'); ?>

    <?= $form->field($model, 'email'); ?>

    <?= $form->field($model, 'password')->passwordInput(); ?>

    <?= $form->field($model, 'password_confirm')->passwordInput(); ?>

    <div class="form-group">
        <?= Html::submitButton(\Yii::t('wallet', 'Update'), ['class' => 'btn btn-primary']); ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>