<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
use yii\helpers\Url;
//use home\assets\SiteAsset;
$attrLabels = $model->attributeLabels();
?>

<div class="modal-window" >


 <?= \home\widgets\Alert::widget(); ?>
	<?php
	$form = ActiveForm::begin([
				'id' => 'main-form',
				'options' => ['class' => 'informationform f14'],
				'action' => ['site/repwd'],
				'fieldConfig' => [
					'options' => ['tag' => 'td'],
					'template' => "{input}{hint}{error}",
					'errorOptions' => ["class" => "error"]
				]
	]);
	?>

	<table cellpadding="0" cellspacing="10" width="100%">
		<tbody>
			<tr>
				<td align="right" width="80"><?= $model->getAttributeLabel('old_password') ?>：</td>
				<?= $form->field($model, 'old_password')->passwordInput(['class' => 'form-control']) ?>
				<td><span class="redstar">*</span></td>
			</tr>
            <tr>
				<td align="right" width="80"><?= $model->getAttributeLabel('password') ?>：</td>
				<?= $form->field($model, 'password')->passwordInput(['class' => 'form-control']) ?>
				<td><span class="redstar">*</span></td>
			</tr>
            <tr>
				<td align="right" width="80"><?= $model->getAttributeLabel('repassword') ?>：</td>
				<?= $form->field($model, 'repassword')->passwordInput(['class' => 'form-control']) ?>
				<td><span class="redstar">*</span></td>
			</tr>	
		</tbody>
	</table>
	<?php ActiveForm::end(); ?>

</div>