Mercurial > p > roundup > code
comparison templates/classic/html/user.item.html @ 2226:03bb30c5e2c3
user editing Role entry help text always appears
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 19 Apr 2004 21:08:47 +0000 |
| parents | 3b92a1b7a056 |
| children | c5fb778ec7e4 |
comparison
equal
deleted
inserted
replaced
| 2225:a3d63babf9c4 | 2226:03bb30c5e2c3 |
|---|---|
| 37 <th>Confirm Password</th> | 37 <th>Confirm Password</th> |
| 38 <td tal:content="structure context/password/confirm">password</td> | 38 <td tal:content="structure context/password/confirm">password</td> |
| 39 </tr> | 39 </tr> |
| 40 <tr tal:condition="python:request.user.hasPermission('Web Roles')"> | 40 <tr tal:condition="python:request.user.hasPermission('Web Roles')"> |
| 41 <th>Roles</th> | 41 <th>Roles</th> |
| 42 <td tal:condition="context/id" | 42 <td> |
| 43 tal:content="structure context/roles/field">roles</td> | 43 <input tal:condition="context/id" |
| 44 <td tal:condition="not:context/id"> | 44 tal:replace="structure context/roles/field"> |
| 45 <input name="roles" tal:attributes="value db/config/NEW_WEB_USER_ROLES"> | 45 <input name="roles" tal:condition="not:context/id" |
| 46 tal:attributes="value db/config/NEW_WEB_USER_ROLES"> | |
| 46 (to give the user more than one role, enter a comma,separated,list) | 47 (to give the user more than one role, enter a comma,separated,list) |
| 47 </td> | 48 </td> |
| 48 </tr> | 49 </tr> |
| 49 <tr> | 50 <tr> |
| 50 <th>Phone</th> | 51 <th>Phone</th> |
