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

Last change on this file since 11954 was 11496, checked in by uli, 11 years ago

Add conditional anchor.

File size: 1.2 KB
RevLine 
[11254]1<table i18n:domain="waeup.kofa">
[7767]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">
[7798]17      <p class="hint" i18n:translate="">
18      Don't forget to save the form after adding or deleting items.
19      </p>
[11254]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"
[7767]26             tal:condition="view/need_delete"
27             tal:attributes="name string:${view/name}.remove"
[11254]28             i18n:translate="remove-selected-items">Remove selected items</button>
[11496]29      <a id="kofa-scroll-target"
30         tal:condition="view/_kofa_seq_len_changed" />
[7767]31    </td>
32  </tr>
33</table>
34<input tal:replace="structure view/marker" />
Note: See TracBrowser for help on using the repository browser.