15 lines
502 B
Plaintext
15 lines
502 B
Plaintext
% layout 'default';
|
|
% title 'Promote Moderator';
|
|
<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>
|
|
<% } =%>
|
|
<%= label_for email => 'Email' %>
|
|
<%= email_field email => (id => 'email') %>
|
|
</div>
|
|
<button type="submit" class="form-button">Promote</button>
|
|
</form>
|