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