2023-04-22 01:40:39 +00:00
|
|
|
% layout 'default';
|
|
|
|
% title 'Reset Password';
|
2023-05-20 17:22:29 +00:00
|
|
|
<h2 class="page-title"><%= title %></h2>
|
|
|
|
<form method="post" class="form-body">
|
|
|
|
<div class="form-field">
|
2023-05-28 04:42:07 +00:00
|
|
|
<% if (my $error = validation->error('email')) { =%>
|
|
|
|
<p class="field-with-error">Must be between <%= $error->[2] %>
|
|
|
|
and <%= $error->[3] %> characters.</p>
|
|
|
|
<% } =%>
|
2023-04-22 01:40:39 +00:00
|
|
|
<%= label_for email => 'Email' %>
|
2023-05-10 01:15:16 +00:00
|
|
|
<%= email_field email => (id => 'email') %>
|
2023-04-22 01:40:39 +00:00
|
|
|
</div>
|
2023-05-20 17:22:29 +00:00
|
|
|
<div class="form-field">
|
2023-05-28 04:42:07 +00:00
|
|
|
<% if (my $error = validation->error('password')) { =%>
|
|
|
|
<p class="field-with-error">Must be between <%= $error->[2] %>
|
|
|
|
and <%= $error->[3] %> characters.</p>
|
|
|
|
<% } =%>
|
2023-04-22 01:40:39 +00:00
|
|
|
<%= label_for password => 'Password' %>
|
2023-05-10 01:15:16 +00:00
|
|
|
<%= password_field password => (id => 'password') %>
|
2023-04-22 01:40:39 +00:00
|
|
|
</div>
|
2023-05-21 03:43:32 +00:00
|
|
|
<button type="submit" class="form-button">Reset</button>
|
2023-04-22 01:40:39 +00:00
|
|
|
</form>
|