/
user_add.pt
46 lines (46 loc) · 1.56 KB
/
user_add.pt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal">
<head>
<title>Shootout</title>
</head>
<body>
<div id="menu">
<ul>
<li><a href="${request.route_url('main')}">Home</a></li>
<li><a href="${request.route_url('about')}">About this demo</a></li>
</ul>
</div>
<div tal:replace="structure toolbar" />
<div tal:replace="structure cloud" />
<div tal:replace="structure latest" />
<div tal:replace="structure login_form" />
<div id="message" tal:condition="request.session.peek_flash()">-->
<p tal:repeat="message request.session.pop_flash()">
${message}
</p>
</div>
<div id="sections">
<h1>Register</h1>
<form action="register" method="post">
<fieldset>
<label for="username">Username</label>
<input type="text" name="username" />
<br />
<label for="password">Password</label>
<input type="password" name="password" />
<br />
<label for="confirm_password">Confirm password</label>
<input type="password" name="confirm_password" />
<br />
<label for="name">Full name</label>
<input type="text" name="name" />
<br />
<label for="email">Email</label>
<input type="text" name="email" />
<br />
<input type="submit" class="submit" name="form.submitted" value="Register" />
</fieldset>
</form>
</div>
</body>
</html>