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"> 10 11 <form method="POST" onSubmit="return submit_once()" 12 enctype="multipart/form-data" 13 tal:attributes="action context/designator"> 14 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="">Phone</th> 42 <td tal:content="structure context/phone/field">phone</td> 43 </tr> 44 <tr> 45 <th i18n:translate="">Organisation</th> 46 <td tal:content="structure context/organisation/field">organisation</td> 47 </tr> 48 <tr> 49 <th class="required" i18n:translate="">E-mail address</th> 50 <td tal:content="structure context/address/field">address</td> 51 </tr> 52 <tr> 53 <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th> 54 <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> 55 </tr> 56 57 <tr> 58 <td> </td> 59 <td> 60 <input type="hidden" name="@template" value="register"> 61 <input type="hidden" name="@required" value="username,password,address"> 62 <input type="hidden" name="@action" value="register"> 63 <input type="submit" name="submit" value="Register" i18n:attributes="value"> 64 </td> 65 </tr> 66 </table> 67 </form> 68 69 <tal:block tal:condition="not:context/id" i18n:translate=""> 70 <table class="form"> 71 <tr> 72 <td>Note: </td> 73 <th class="required">highlighted</th> 74 <td> fields are required.</td> 75 </tr> 76 </table> 77 </tal:block> 78 79 </td> 80 81 </tal:block>