source: main/waeup.kofa/trunk/src/waeup/sirp/widgets/sequencewidget.pt @ 7809

Last change on this file since 7809 was 7798, checked in by Henrik Bettermann, 13 years ago

Use btn css class for buttons.

Display hint that form must be saved after removing and adding items. Translate this text in the waeup.sirp i18n domain.

File size: 1.2 KB
Line 
1<table border="0" class="sequencewidget"
2  i18n:domain="waeup.sirp">
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      <p class="hint" i18n:translate="">
19      Don't forget to save the form after adding or deleting items.
20      </p>
21      <input type="submit" value="Remove selected items"
22             class="btn"
23             tal:condition="view/need_delete"
24             tal:attributes="name string:${view/name}.remove"
25             i18n:attributes="value remove-selected-items" />
26      <input type="submit" value="Add foo"
27             class="btn"
28             tal:condition="view/need_add"
29             tal:attributes="name string:${view/name}.add;
30                             value view/addButtonLabel" />
31    </td>
32  </tr>
33</table>
34<input tal:replace="structure view/marker" />
Note: See TracBrowser for help on using the repository browser.