]> iEval git - gruntmaster-page.git/blame - lib/Gruntmaster/Page/Account.pm
Add gensrc
[gruntmaster-page.git] / lib / Gruntmaster / Page / Account.pm
CommitLineData
088a8d62
MG
1package Gruntmaster::Page::Account;
2
3use 5.014000;
4use strict;
5use warnings;
bb95f538
MG
6use Gruntmaster::Page::Base account => 'Account';
7our @ISA = qw/Gruntmaster::Page::Base/;
088a8d62
MG
8our $VERSION = '0.001';
9
bb95f538
MG
10use constant TEMPLATES => {
11 en => <<'HTML',
088a8d62
MG
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
bb95f538 44};
088a8d62
MG
45
461
This page took 0.02227 seconds and 4 git commands to generate.