]> iEval git - gruntmaster-page.git/blob - lib/Gruntmaster/Page/Account.pm
Remove public generate function from Gruntmaster::Page
[gruntmaster-page.git] / lib / Gruntmaster / Page / Account.pm
1 package Gruntmaster::Page::Account;
2
3 use 5.014000;
4 use strict;
5 use warnings;
6 use Gruntmaster::Page::Base account => 'Account';
7 our @ISA = qw/Gruntmaster::Page::Base/;
8 our $VERSION = '0.001';
9
10 use constant TEMPLATES => {
11 en => <<'HTML',
12 <div id="result"></div>
13
14 <h1>Register</h1>
15 <form action="/action/register" method="POST" class="jsform">
16 Username:<br>
17 <input type="text" name="username" required><br>
18 Password:<br>
19 <input type="password" name="password" required><br>
20 Confirm password:<br>
21 <input type="password" name="confirm_password" required><br>
22 Full name:<br>
23 <input type="text" name="name" required><br>
24 Email:<br>
25 <input type="email" name="email" required><br>
26 Town:<br>
27 <input type="text" name="town" required><br>
28 University <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">
35 Old password:<br>
36 <input type="password" name="password" required><br>
37 New password:<br>
38 <input type="password" name="new_password" required><br>
39 Confirm new password:<br>
40 <input type="password" name="confirm_new_password" required><br>
41 <input type="submit" value="Change password">
42 </form>
43 HTML
44 };
45
46 1
This page took 0.04223 seconds and 4 git commands to generate.