slitaz-forge diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bugs/templates/slitaz/html/user.register.html	Thu Apr 14 20:59:10 2011 +0100
     1.3 @@ -0,0 +1,78 @@
     1.4 +<!-- dollarId: user.item,v 1.7 2002/08/16 04:29:04 richard Exp dollar-->
     1.5 +<tal:block metal:use-macro="templates/page/macros/icing">
     1.6 +<title metal:fill-slot="head_title"
     1.7 + i18n:translate="">Registering with <span i18n:name="tracker"
     1.8 + tal:replace="db/config/TRACKER_NAME" /></title>
     1.9 +<span metal:fill-slot="body_title" tal:omit-tag="python:1"
    1.10 + i18n:translate="">Registering with <span i18n:name="tracker"
    1.11 + tal:replace="db/config/TRACKER_NAME" /></span>
    1.12 +<td class="content" metal:fill-slot="content">
    1.13 +
    1.14 +<form method="post" onSubmit="return submit_once()"
    1.15 +      enctype="multipart/form-data"
    1.16 +      tal:attributes="action context/designator">
    1.17 +
    1.18 +<table class="form">
    1.19 + <tr>
    1.20 +  <th i18n:translate="">Name</th>
    1.21 +  <td tal:content="structure context/realname/field">realname</td>
    1.22 + </tr>
    1.23 + <tr>
    1.24 +  <th class="required" i18n:translate="">Login Name</th>
    1.25 +  <td tal:content="structure context/username/field">username</td>
    1.26 + </tr>
    1.27 + <tr>
    1.28 +  <th class="required" i18n:translate="">Login Password</th>
    1.29 +  <td tal:content="structure context/password/field">password</td>
    1.30 + </tr>
    1.31 + <tr>
    1.32 +  <th class="required" i18n:translate="">Confirm Password</th>
    1.33 +  <td tal:content="structure context/password/confirm">password</td>
    1.34 + </tr>
    1.35 + <tr tal:condition="python:request.user.hasPermission('Web Roles')">
    1.36 +  <th i18n:translate="">Roles</th>
    1.37 +  <td tal:condition="exists:item"
    1.38 +      tal:content="structure context/roles/field">roles</td>
    1.39 +  <td tal:condition="not:exists:item">
    1.40 +   <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES">
    1.41 +  </td>
    1.42 + </tr>
    1.43 + <tr>
    1.44 +  <th i18n:translate="">Website</th>
    1.45 +  <td tal:content="structure context/website/field">website</td>
    1.46 + </tr>
    1.47 + <tr>
    1.48 +  <th class="required" i18n:translate="">E-mail address</th>
    1.49 +  <td tal:content="structure context/address/field">address</td>
    1.50 + </tr>
    1.51 + <tr>
    1.52 +  <th i18n:translate="">Alternate E-mail addresses<br>One address per line</th>
    1.53 +  <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td>
    1.54 + </tr>
    1.55 +
    1.56 + <tr>
    1.57 +  <td>&nbsp;</td>
    1.58 +  <td>
    1.59 +   <input type="hidden" name="@template" value="register">
    1.60 +   <input type="hidden" name="@required" value="username,password,address">
    1.61 +   <input type="hidden" name="@action" value="register">
    1.62 +   <input type="submit" name="submit" value="Register" i18n:attributes="value">
    1.63 +  </td>
    1.64 + </tr>
    1.65 +</table>
    1.66 +</form>
    1.67 +
    1.68 +<tal:block tal:condition="not:context/id" i18n:translate="">
    1.69 +<table class="form">
    1.70 +<tr>
    1.71 + <td>Note:&nbsp;</td>
    1.72 + <th class="required">highlighted</th>
    1.73 + <td>&nbsp;fields are required.</td>
    1.74 +</tr>
    1.75 +</table>
    1.76 +</tal:block>
    1.77 +
    1.78 +</td>
    1.79 +
    1.80 +</tal:block>
    1.81 +<!-- SHA: ed7a2465033194eb71fa79431b028150c23be650 -->