<?php
use yii\helpers\Url;
use common\models\User;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
?>

<?php $form = ActiveForm::begin([
	'id' => 'main-form',
	'action' => ['site/repwd'],
	'fieldConfig' => [
		'options' => ['tag' => 'tr'],
		'template' => "<th width='120'>{label}</th><td>{input}{hint}{error}</td>",
	]
]); ?>
	<div class="h_a">修改密码</div>
	<div class="table_full">
		<table width="100%">
             <?= $form -> field($model, 'old_password') -> passwordInput(['class' => 'input length_5']); ?>
             <?= $form -> field($model, 'password') -> passwordInput(['class' => 'input length_5']); ?>
             <?= $form -> field($model, 'repassword') -> passwordInput(['class' => 'input length_5']); ?>
		</table>
	</div>
    
	<div class="btn_wrap">
		<div class="btn_wrap_pd">
              <?= Html::submitButton('提交', ['class' => 'btn btn_submit mr10']); ?>
		</div>
	</div>

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