|
|
|
@ -1,26 +1,10 @@ |
|
|
|
% layout 'standard', title => 'Forgot Password', sb_active => 'forgot'; |
|
|
|
% layout 'standard', title => 'Forgot Password', sb_active => 'forgot'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="mt-5 display-6 mb-4">Reset Password</h2> |
|
|
|
<h2 class="mt-5 display-6 mb-4">Reset Password</h2> |
|
|
|
|
|
|
|
|
|
|
|
<p>If you have forgotten the password for your account, please enter the email address below and you will get a link to reset your password.</p> |
|
|
|
<p>If you have forgotten the password for your account, please enter the email address below and you will get a link to reset your password.</p> |
|
|
|
|
|
|
|
|
|
|
|
% if ( $c->stash->{success} ) { |
|
|
|
%= include '_base/status_window'; |
|
|
|
<div style="margin-top: 2em" class="alert alert-success" role="alert"> |
|
|
|
|
|
|
|
<%= $c->stash->{success_message} %> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
% } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% if ( $c->stash->{errors} ) { |
|
|
|
|
|
|
|
<div style="margin-top: 2em" class="alert alert-danger" role="alert"> |
|
|
|
|
|
|
|
There were errors with your request that could not be resolved: |
|
|
|
|
|
|
|
<ul> |
|
|
|
|
|
|
|
% for my $error ( @{$c->stash->{errors}} ) { |
|
|
|
|
|
|
|
<li><%= $error %></li> |
|
|
|
|
|
|
|
% } |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
% } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form autocomplete="off" style="margin-top: 1.5em" method="POST" action="<%= $c->url_for( 'do_forgot' ) %>"> |
|
|
|
<form autocomplete="off" style="margin-top: 1.5em" method="POST" action="<%= $c->url_for( 'do_forgot' ) %>"> |
|
|
|
|
|
|
|
|
|
|
|
|