source: main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/widgets/sequencewidget.pt @ 11154

Last change on this file since 11154 was 11105, checked in by Henrik Bettermann, 11 years ago

Show proper flash message colors and other minor changes.

File size: 1.1 KB
Line 
1<table i18n:domain="waeup.kofa">
2  <tr tal:repeat="widget view/widgets">
3    <td>
4      <input class="editcheck" type="checkbox"
5             tal:attributes="
6                 name string:${view/name}.remove_${repeat/widget/index}"
7             tal:condition="view/need_delete" />
8    </td>
9    <td>
10      <span tal:define="error widget/error"
11            tal:replace="structure error" tal:condition="error" />
12      <input tal:replace="structure widget" />
13    </td>
14  </tr>
15  <tr>
16    <td colspan="2">
17      <p class="hint" i18n:translate="">
18      Don't forget to save the form after adding or deleting items.
19      </p>
20      <button type="submit"
21             class="btn btn-default"
22             tal:condition="view/need_add"
23             tal:attributes="name string:${view/name}.add"
24             tal:content="view/addButtonLabel" />
25      <button type="submit" class="btn btn-default"
26             tal:condition="view/need_delete"
27             tal:attributes="name string:${view/name}.remove"
28             i18n:translate="remove-selected-items">Remove selected items</button>
29    </td>
30  </tr>
31</table>
32<input tal:replace="structure view/marker" />
Note: See TracBrowser for help on using the repository browser.