]> iEval git - plack-app-gruntmaster.git/blame_incremental - lib/Gruntmaster/Page/Account.pm
General standings should not list problems
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / Account.pm
... / ...
CommitLineData
1package Gruntmaster::Page::Account;
2
3use 5.014000;
4use strict;
5use warnings;
6use Gruntmaster::Page::Base account => 'Account';
7our @ISA = qw/Gruntmaster::Page::Base/;
8our $VERSION = '0.001';
9
10use constant TEMPLATES => {
11 en => <<'HTML',
12<div id="result"></div>
13
14<h1>Register</h1>
15<form action="/action/register" method="POST" class="jsform">
16Username:<br>
17<input type="text" name="username" required><br>
18Password:<br>
19<input type="password" name="password" required><br>
20Confirm password:<br>
21<input type="password" name="confirm_password" required><br>
22Full name:<br>
23<input type="text" name="name" required><br>
24Email:<br>
25<input type="email" name="email" required><br>
26Town:<br>
27<input type="text" name="town" required><br>
28University <i>(full name)</i>:<br>
29<input type="text" name="university" required><br>
30<input type="submit" value="Register">
31</form>
32
33<h1>Change password</h1>
34<form action="/action/passwd" method="POST" class="jsform">
35Old password:<br>
36<input type="password" name="password" required><br>
37New password:<br>
38<input type="password" name="new_password" required><br>
39Confirm new password:<br>
40<input type="password" name="confirm_new_password" required><br>
41<input type="submit" value="Change password">
42</form>
43HTML
44};
45
461
This page took 0.020151 seconds and 4 git commands to generate.