<?php require_once __DIR__ .'/_header.php'; ?>

<div class="col-lg-12 login-wrapper">
<h1>
Did you forget your password?
</h1>
<p>Enter your e-mail address right below and we will send you an e-mail with more details on how to reset your password.</p>

<div class="form-wrapper">

<form id="formForgottenPassword" onsubmit="return submitData(this);" data-target="forgottenPassword" method="post" class="form-horizontal container">
	<div class="form-group">
		<?= printMessages('forgottenPassword') ?>
	</div>
    <div class="form-group has-feedback" id="groupEmailAddress">
        <label class="col-sm-2 control-label" for="inputEmailAddress" id="labelEmailAddress">
            <?= $text['label']['emailAddress']; ?>
        </label>
        <div class="col-sm-10">
            <input type="text" name="emailAddress" class="form-control" id="inputEmailAddress" value="<?= getValue('emailAddress') ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorEmailAddress"></span>
        </div>
    </div>
    <input type="submit" class="pull-right btn btn-success" value="<?= $text['submit']; ?>">
</form>
</div>
</div>

<?php require_once __DIR__ .'/_footer.php'; ?>