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