phpci/PHPCI/View/Session/resetPassword.phtml
2014-12-02 16:26:55 +00:00

28 lines
943 B
PHTML

<?php if (empty($error)): ?>
<div class="panel panel-success" style="margin-bottom: 0">
<div class="box-header">
Please enter a new password
</div>
<div class="box-body">
<form class="form" action="<?php print PHPCI_URL; ?>session/reset-password/<?php print $id; ?>/<?php print $key; ?>" method="POST">
<div class="form-group">
<label for="password">New password:</label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<div class="form-group">
<input class="btn btn-success" type="submit" value="Change password">
</div>
</form>
</div>
</div>
<?php else: ?>
<div class="alert alert-danger" style="margin-bottom: 0">
<?php print $error; ?>
</div>
<?php endif; ?>