Mercurial > p > roundup > code
diff templates/classic/html/user.register.html @ 3442:74268c847ace
mark login name and email address fields as required [SF#1392364]
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Thu, 29 Dec 2005 06:42:11 +0000 |
| parents | 1df7d4a41da4 |
| children |
line wrap: on
line diff
--- a/templates/classic/html/user.register.html Sun Dec 25 16:24:11 2005 +0000 +++ b/templates/classic/html/user.register.html Thu Dec 29 06:42:11 2005 +0000 @@ -18,15 +18,15 @@ <td tal:content="structure context/realname/field">realname</td> </tr> <tr> - <th i18n:translate="">Login Name</th> + <th class="required" i18n:translate="">Login Name</th> <td tal:content="structure context/username/field">username</td> </tr> <tr> - <th i18n:translate="">Login Password</th> + <th class="required" i18n:translate="">Login Password</th> <td tal:content="structure context/password/field">password</td> </tr> <tr> - <th i18n:translate="">Confirm Password</th> + <th class="required" i18n:translate="">Confirm Password</th> <td tal:content="structure context/password/confirm">password</td> </tr> <tr tal:condition="python:request.user.hasPermission('Web Roles')"> @@ -46,7 +46,7 @@ <td tal:content="structure context/organisation/field">organisation</td> </tr> <tr> - <th i18n:translate="">E-mail address</th> + <th class="required" i18n:translate="">E-mail address</th> <td tal:content="structure context/address/field">address</td> </tr> <tr> @@ -66,6 +66,16 @@ </table> </form> +<tal:block tal:condition="not:context/id" i18n:translate=""> +<table class="form"> +<tr> + <td>Note: </td> + <th class="required">highlighted</th> + <td> fields are required.</td> +</tr> +</table> +</tal:block> + </td> </tal:block>
