source: main/waeup.sirp/trunk/src/waeup/sirp/widgets/multilistwidget.pt @ 6228

Last change on this file since 6228 was 5328, checked in by uli, 14 years ago

Merge changes from ulif-fasttables back into trunk.

File size: 1.2 KB
Line 
1<table border="0" class="multisequencewidget"
2  i18n:domain="zope">
3  <div tal:repeat="widget view/widgets"
4       tal:omit-tag="" >
5    <tr tal:condition="repeat/widget/start">
6      <th></th>
7      <th tal:repeat="subwidget widget/subwidgets">
8        <span tal:replace="subwidget/label">Column Label</span>
9      </th>
10    </tr>
11    <tr>
12      <td>
13        <input class="editcheck" type="checkbox"
14               tal:attributes="
15                   name string:${view/name}.remove_${repeat/widget/index}"
16               tal:condition="view/need_delete" />
17      </td>
18      <td tal:repeat="subwidget widget/subwidgets">
19        <span tal:define="error subwidget/error"
20              tal:replace="structure error" tal:condition="error" />
21        <input tal:replace="structure subwidget" />
22      </td>
23    </tr>
24  </div>
25  <tr>
26    <td colspan="2">
27      <input type="submit" value="Remove selected items"
28             tal:condition="view/need_delete"
29             tal:attributes="name string:${view/name}.remove"
30             i18n:attributes="value remove-selected-items" />
31      <input type="submit" value="Add foo"
32             tal:condition="view/need_add"
33             tal:attributes="name string:${view/name}.add;
34                             value view/addButtonLabel" />
35    </td>
36  </tr>
37</table>
38<input tal:replace="structure view/marker" />
Note: See TracBrowser for help on using the repository browser.