diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2011-01-23 10:53:25 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2011-01-23 10:53:25 (GMT) |
commit | 3d1ec367afebc2d93e9f727c51a115fa4c33c786 (patch) | |
tree | 7118398a837ceae41df0d21bace249f1522ef840 | |
parent | 937929e1c656ed96d46c3f95ee3d1f73fc40e6f7 (diff) |
Show the flash on "Forgotten password" page
-rw-r--r-- | app/views/users/forgot_password.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/forgot_password.html.erb b/app/views/users/forgot_password.html.erb index 605ca5f..a9a8b9f 100644 --- a/app/views/users/forgot_password.html.erb +++ b/app/views/users/forgot_password.html.erb @@ -24,7 +24,7 @@ <div class="form-wrapper" id="forgotpw"> <div id="forgot-pw"> <h1>Forgotten password</h1> - <p>You will receive an e-mail with instructions on how to reset your password.</p> + <p><%= flash[:error] or 'You will receive an e-mail with instructions on how to reset your password.' %></p> <div class="horisontal-shadow"></div> <ul> <li> |