Line | |
---|
1 | <table class="form-table" i18n:domain="waeup.kofa"> |
---|
2 | <tbody> |
---|
3 | <tal:block repeat="widget view/widgets"> |
---|
4 | <tr> |
---|
5 | <td class="fieldname"> |
---|
6 | <span tal:content="widget/label">LABEL</span>: |
---|
7 | </td> |
---|
8 | <td> |
---|
9 | <span tal:content="structure widget"> |
---|
10 | <input type="text" /> |
---|
11 | </span> |
---|
12 | </td> |
---|
13 | </tr> |
---|
14 | </tal:block> |
---|
15 | </tbody> |
---|
16 | </table> |
---|
17 | |
---|
18 | <table i18n:domain="waeup.kofa"> |
---|
19 | <thead> |
---|
20 | <tr> |
---|
21 | <th i18n:translate="">Id</th> |
---|
22 | <th i18n:translate="">Name</th> |
---|
23 | <th i18n:translate="">Booked Beds</th> |
---|
24 | </tr> |
---|
25 | </thead> |
---|
26 | <tbody> |
---|
27 | <tal:tbody repeat="value context/values"> |
---|
28 | <tr tal:define = "stats value/bed_statistics"> |
---|
29 | <td> <a tal:attributes="href python: view.url(value)"> |
---|
30 | <span tal:content="value/hostel_id">ID</span></a></td> |
---|
31 | <td tal:content="value/hostel_name">NAME</td> |
---|
32 | <td> |
---|
33 | <span tal:replace="stats/booked">10</span> of <span tal:replace="stats/total">100</span> |
---|
34 | </td> |
---|
35 | </tr> |
---|
36 | </tal:tbody> |
---|
37 | </tbody> |
---|
38 | </table> |
---|
Note: See
TracBrowser for help on using the repository browser.