<?php

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

$this->title = 'Verify Your Account - Classic IAS Academy';
\Yii::$app->view->registerMetaTag([
    'name' => 'description',
    'content' => 'Verify Your Account - Classic IAS Academy',
]);
\Yii::$app->view->registerMetaTag([
    'name' => 'keywords',
    'content' => 'Verify Your Account - Classic IAS Academy',
]);
?>
<section style="background-image: linear-gradient(to bottom right, #00CFFF, #0C4470);">
	<div class="container" style="display:flex; padding:15px">
		<div class="col-sm-6" style="position:relative; margin:auto">
			<div style="background:#fff; padding:50px; border-radius:5px">
				<h1 style="font-weight:bold; text-align:center; padding:15px">Password Update</h1>
				 <p class="text-center" style="font-size:16px">Please Enter New Password:</p>
				<?php if(\Yii::$app->session->hasFlash('danger')) { ?>
				<p class="text-center" style="font-size:16px;color:red;"><?php echo \Yii::$app->session->getFlash('danger'); ?></p>
				<?php } ?>
				<?php if(\Yii::$app->session->hasFlash('sendre')) { ?>
				<p class="text-center" style="font-size:16px;color:green;"><?php echo \Yii::$app->session->getFlash('sendre'); ?></p>
				<?php } ?>
				<?php $form = ActiveForm::begin(['method' => 'post',]); ?>
					  <div class="form-group">
						    <label for="name">New Password :</label>
                            <input type="password" class="form-control" id="password" placeholder="Enter New Password"  name="newpassword">
                        </div>
                        <div class="form-group">
						    <label for="email">Confirm Password :</label>
                           <input type="password" class="form-control" id="confirm_password" placeholder="Enter Confirm Password"  name="confirm_password">
                         </div>
					  <div style="text-align:center; background:#1465A1; padding:6px; border-radius:5px">
						<input type="submit" name="submit" value="SUBMIT" style="color:#fff; text-decoration:none; font-size:18px;background: #1465A1;border: none;">
					  </div>
				<?php ActiveForm::end(); ?>
			</div>
		</div>
	</div>
</section>

<div style="height:20px"></div>
