Mercurial > p > roundup > code
comparison templates/classic/html/user.item.html @ 1855:8b840f8626fb
Add "action" attributes to forms.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Mon, 20 Oct 2003 21:14:10 +0000 |
| parents | 4e4afbe3cd30 |
| children | f5c804379c85 |
comparison
equal
deleted
inserted
replaced
| 1854:8a2a8c9eba2e | 1855:8b840f8626fb |
|---|---|
| 17 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"> | 17 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"> |
| 18 You are not allowed to view this page. | 18 You are not allowed to view this page. |
| 19 </span> | 19 </span> |
| 20 | 20 |
| 21 <form method="POST" onSubmit="return submit_once()" | 21 <form method="POST" onSubmit="return submit_once()" |
| 22 enctype="multipart/form-data" tal:condition="context/is_edit_ok"> | 22 enctype="multipart/form-data" tal:condition="context/is_edit_ok" |
| 23 tal:attributes="action context/designator"> | |
| 23 | 24 |
| 24 <table class="form"> | 25 <table class="form"> |
| 25 <tr> | 26 <tr> |
| 26 <th>Name</th> | 27 <th>Name</th> |
| 27 <td tal:content="structure context/realname/field">realname</td> | 28 <td tal:content="structure context/realname/field">realname</td> |
