PostText/templates/moderator/unlock_acct.html.ep

16 lines
538 B
Plaintext
Raw Normal View History

2023-04-22 02:25:05 +00:00
% layout 'default';
% title 'Unlock Account';
2023-05-20 17:22:29 +00:00
<h2 class="page-title"><%= title %></h2>
<form method="post" class="form-body">
<div class="form-field">
<% if (my $error = validation->error('email')) { =%>
<p class="field-with-error">Must be between <%= $error->[2] %>
and <%= $error->[3] %> characters.</p>
<% } =%>
2023-04-22 03:21:12 +00:00
<%= label_for email => 'Email' %>
2023-10-16 02:30:01 +00:00
<%= email_field email => (id => 'email', autofocus => undef) %>
2023-04-22 03:21:12 +00:00
</div>
<%= csrf_field %>
2023-05-21 03:43:32 +00:00
<button type="submit" class="form-button">Unlock</button>
2023-04-22 02:25:05 +00:00
</form>