slitaz-forge view bugs/templates/slitaz/html/user.register.html @ rev 73

Tiny edits
author Paul Issott <paul@slitaz.org>
date Thu Apr 14 20:59:10 2011 +0100 (2011-04-14)
parents
children
line source
1 <!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
2 <tal:block metal:use-macro="templates/page/macros/icing">
3 <title metal:fill-slot="head_title"
4 i18n:translate="">Registering with <span i18n:name="tracker"
5 tal:replace="db/config/TRACKER_NAME" /></title>
6 <span metal:fill-slot="body_title" tal:omit-tag="python:1"
7 i18n:translate="">Registering with <span i18n:name="tracker"
8 tal:replace="db/config/TRACKER_NAME" /></span>
9 <td class="content" metal:fill-slot="content">
11 <form method="post" onSubmit="return submit_once()"
12 enctype="multipart/form-data"
13 tal:attributes="action context/designator">
15 <table class="form">
16 <tr>
17 <th i18n:translate="">Name</th>
18 <td tal:content="structure context/realname/field">realname</td>
19 </tr>
20 <tr>
21 <th class="required" i18n:translate="">Login Name</th>
22 <td tal:content="structure context/username/field">username</td>
23 </tr>
24 <tr>
25 <th class="required" i18n:translate="">Login Password</th>
26 <td tal:content="structure context/password/field">password</td>
27 </tr>
28 <tr>
29 <th class="required" i18n:translate="">Confirm Password</th>
30 <td tal:content="structure context/password/confirm">password</td>
31 </tr>
32 <tr tal:condition="python:request.user.hasPermission('Web Roles')">
33 <th i18n:translate="">Roles</th>
34 <td tal:condition="exists:item"
35 tal:content="structure context/roles/field">roles</td>
36 <td tal:condition="not:exists:item">
37 <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES">
38 </td>
39 </tr>
40 <tr>
41 <th i18n:translate="">Website</th>
42 <td tal:content="structure context/website/field">website</td>
43 </tr>
44 <tr>
45 <th class="required" i18n:translate="">E-mail address</th>
46 <td tal:content="structure context/address/field">address</td>
47 </tr>
48 <tr>
49 <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th>
50 <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td>
51 </tr>
53 <tr>
54 <td>&nbsp;</td>
55 <td>
56 <input type="hidden" name="@template" value="register">
57 <input type="hidden" name="@required" value="username,password,address">
58 <input type="hidden" name="@action" value="register">
59 <input type="submit" name="submit" value="Register" i18n:attributes="value">
60 </td>
61 </tr>
62 </table>
63 </form>
65 <tal:block tal:condition="not:context/id" i18n:translate="">
66 <table class="form">
67 <tr>
68 <td>Note:&nbsp;</td>
69 <th class="required">highlighted</th>
70 <td>&nbsp;fields are required.</td>
71 </tr>
72 </table>
73 </tal:block>
75 </td>
77 </tal:block>
78 <!-- SHA: ed7a2465033194eb71fa79431b028150c23be650 -->