Last change
on this file since 9216 was
7464,
checked in by Henrik Bettermann, 13 years ago
|
Move form label to site layout pagetemplates. This saves even more code.
|
File size:
973 bytes
|
Line | |
---|
1 | <form action="." tal:attributes="action request/URL" method="POST" |
---|
2 | enctype="multipart/form-data"> |
---|
3 | |
---|
4 | <table> |
---|
5 | <thead> |
---|
6 | <tr> |
---|
7 | <th> </th><th>Code</th><th>Title</th> |
---|
8 | </tr> |
---|
9 | </thead> |
---|
10 | <tbody> |
---|
11 | <tr tal:repeat="dep context/values"> |
---|
12 | <td> |
---|
13 | <input type="checkbox" |
---|
14 | name="val_id" |
---|
15 | tal:attributes="value dep/code" /> |
---|
16 | </td> |
---|
17 | <td> |
---|
18 | <a tal:attributes="href python: view.url(dep)" |
---|
19 | tal:content="dep/__name__"> |
---|
20 | ID |
---|
21 | </a> |
---|
22 | </td> |
---|
23 | <td> |
---|
24 | <span tal:content="dep/title"> |
---|
25 | ID |
---|
26 | </span> |
---|
27 | </td> |
---|
28 | </tr> |
---|
29 | </tbody> |
---|
30 | </table> |
---|
31 | <div tal:condition="view/availableActions"> |
---|
32 | <span tal:repeat="action view/actions" |
---|
33 | tal:omit-tag=""> |
---|
34 | <input tal:condition="python:action.label in view.taboneactions" |
---|
35 | tal:replace="structure action/render"/> |
---|
36 | </span> |
---|
37 | </div> |
---|
38 | </form> |
---|
Note: See
TracBrowser for help on using the repository browser.