810628ce9a6cef18a6fe688156e1c4ca9f327670
[Plinn.git] / skins / custom_content / listc_edit.pt
1 <table class="TwoColumnForm" i18n:domain="plinn"
2 tal:define="bgcolor here/base_properties/contentBackgroundColor"
3 tal:attributes="style string:background-color:$bgcolor">
4 <tr>
5 <td>
6 <input type="checkbox" value="" name="criterion_ids:list" id=""
7 tal:attributes="value here/getId; id string:cb_${here/getId}" />
8 <input type="hidden" name="criteria.id:records" value=""
9 tal:attributes="value here/getId" />
10 </td>
11 <td>
12 <fieldset>
13 <legend tal:content="string:catalog_index_${here/Field}" i18n:translate="">Field name</legend>
14 <textarea name="criteria.value:lines:records" rows="5" cols="40"
15 tal:content="python:modules['string'].join(here.value, '\n')"></textarea><br />
16 <span i18n:translate="" tal:omit-tag="">Operator:</span>
17 <select name="criteria.operator:records">
18 <option value="or"
19 tal:attributes="selected python:here.operator == 'or'"
20 i18n:translate="">or</option>
21 <option value="and"
22 tal:attributes="selected python:here.operator == 'and'"
23 i18n:translate="">and</option>
24 </select>
25 <dl class="FieldHelp">
26 <dd tal:content="here/Description" i18n:translate="">Criterion description</dd>
27 </dl>
28 </fieldset>
29 </td>
30 </tr>
31 </table>