<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \frontend\models\SignupForm */

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

$this->title = 'Account Information';
$this->params['breadcrumbs'][] = $this->title;
?>

<div class="content-page updacc">
    <div class="content-page-header updacc-header">
        <span><?= Html::encode($this->title) ?></span>
        <a href="<?= Url::to(['site/change-password']) ?>">Change Password</a>
    </div>
    <?php $form = ActiveForm::begin(['id' => 'form-update-account']); ?>
    <div class="content-page-content updacc-content">
        <?= $form->field($model, 'username')->textInput(['maxlength' => true]) ?>
        <?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>
    </div>
    <div class="content-page-footer text-right">
        <?= Html::submitButton('UPDATE ACCOUNT', ['class' => 'btn btn-primary']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>