Last change
on this file since 7783 was
7767,
checked in by uli, 13 years ago
|
The template for the sirp-own sequence widget. A copy from zope.formlib.
|
File size:
1.0 KB
|
Rev | Line | |
---|
[7767] | 1 | <table border="0" class="sequencewidget" |
---|
| 2 | i18n:domain="zope"> |
---|
| 3 | <tr tal:repeat="widget view/widgets"> |
---|
| 4 | <td> |
---|
| 5 | <input class="editcheck" type="checkbox" |
---|
| 6 | tal:attributes=" |
---|
| 7 | name string:${view/name}.remove_${repeat/widget/index}" |
---|
| 8 | tal:condition="view/need_delete" /> |
---|
| 9 | </td> |
---|
| 10 | <td> |
---|
| 11 | <span tal:define="error widget/error" |
---|
| 12 | tal:replace="structure error" tal:condition="error" /> |
---|
| 13 | <input tal:replace="structure widget" /> |
---|
| 14 | </td> |
---|
| 15 | </tr> |
---|
| 16 | <tr> |
---|
| 17 | <td colspan="2"> |
---|
| 18 | <input type="submit" value="Remove selected items" |
---|
| 19 | tal:condition="view/need_delete" |
---|
| 20 | tal:attributes="name string:${view/name}.remove" |
---|
| 21 | i18n:attributes="value remove-selected-items" /> |
---|
| 22 | <input type="submit" value="Add foo" |
---|
| 23 | tal:condition="view/need_add" |
---|
| 24 | tal:attributes="name string:${view/name}.add; |
---|
| 25 | value view/addButtonLabel" /> |
---|
| 26 | </td> |
---|
| 27 | </tr> |
---|
| 28 | </table> |
---|
| 29 | <input tal:replace="structure view/marker" /> |
---|
Note: See
TracBrowser for help on using the repository browser.