Mercurial > p > roundup > code
comparison templates/classic/html/file.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 |
|---|---|
| 9 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"> | 9 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())"> |
| 10 You are not allowed to view this page. | 10 You are not allowed to view this page. |
| 11 </span> | 11 </span> |
| 12 | 12 |
| 13 <form method="POST" onSubmit="return submit_once()" | 13 <form method="POST" onSubmit="return submit_once()" |
| 14 enctype="multipart/form-data" tal:condition="context/is_edit_ok"> | 14 enctype="multipart/form-data" tal:condition="context/is_edit_ok" |
| 15 tal:attributes="action context/designator"> | |
| 15 | 16 |
| 16 <table class="form"> | 17 <table class="form"> |
| 17 <tr> | 18 <tr> |
| 18 <th>Name</th> | 19 <th>Name</th> |
| 19 <td tal:content="structure context/name/field"></td> | 20 <td tal:content="structure context/name/field"></td> |
