Skip to content

Commit

Permalink
modified forgot password view
Browse files Browse the repository at this point in the history
  • Loading branch information
quincykwende committed Apr 14, 2013
1 parent f70b180 commit c1e3fa6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 16 deletions.
1 change: 1 addition & 0 deletions classes/lattice/controller/auth.php
Expand Up @@ -183,6 +183,7 @@ public function action_forgot()
} else {
$view = new View('auth/forgot');
}
$view->title = 'Forgot Password';
$this->response->body($view);
}

Expand Down
45 changes: 29 additions & 16 deletions views/auth/forgot.php
@@ -1,19 +1,32 @@
<div class="modalContainer">
<div class="modal">
<h3>Forgot Password</h3>
<div class="container">
<?if (isset($message)):?><?=$message;?><?endif;?>
<form action="<?=URL::base();?>auth/forgot/" method="POST">
Please enter your email. A new password will be sent to you.<br>

<label for="emailInput">Email</label>
<input type="text" name="email" />

<input type="submit">

</form>

</div>
<div class="header container_12">
<h3><?=$title;?></h3>
</div>
<div class="modal container_12">
<form action="<?=URL::base();?>auth/forgot/" method="POST">
<div class="content login">
<fieldset>
<legend>
<?php
if (isset($message)):
echo $message;
?>
<br />
<?php
endif;
?>
Please enter your email. A new password will be sent to you.
</legend>
<label for="emailInput">Email</label>
<input type="text" name="email" size="56"/>
</fieldset>
</div>
<div class="footer">
<div class="controls clearFix">
<button type="submit" class="submit" name="submit">Submit</button>
<a href="<?=URL::base();?>cms">CLick here to Login</a>
</div>
</div>
</form>
</div>
<a href="#" class="modalAnchor"></a>
</div>

0 comments on commit c1e3fa6

Please sign in to comment.