1 <table class="TwoColumnForm" i18n:domain="plinn"
2 tal:define="bgcolor here/base_properties/contentBackgroundColor"
3 tal:attributes="style string:background-color:$bgcolor">
6 <input id="" type="checkbox" name="criterion_ids:list" value=""
7 tal:attributes="value here/getId; id string:cb_${here/getId}"/>
8 <input type="hidden" name="criteria.id:records" value="" tal:attributes="value here/getId"/>
12 <legend tal:content="string:catalog_index_${here/Field}" i18n:translate="">Field name</legend>
13 <select name="criteria.operation:records">
15 tal:attributes="selected python:here.operation=='min'"
16 i18n:translate="">At the least:</option>
18 tal:attributes="selected python:here.operation=='max'"
19 i18n:translate="">At the most:</option>
20 <option value="within_day"
21 tal:attributes="selected python:here.operation=='within_day'"
22 i18n:translate="">Within the day:</option>
25 <select name="criteria.value:records"
26 tal:define="dateoptions here/defaultDateOptions">
28 tal:repeat="doption dateoptions"
29 tal:attributes="value python:doption[0];
30 selected python:here.value == doption[0];
32 tal:content="python:doption[1]"
33 i18n:translate="">Date Option</option>
36 <select name="criteria.daterange:records">
38 tal:attributes="selected python:here.daterange == 'old'"
39 i18n:translate="daterange_old">old</option>
41 tal:attributes="selected python:here.daterange == 'ahead'"
42 i18n:translate="daterange_ahead">ahead</option>
44 <dl class="FieldHelp">
45 <dd tal:content="here/dateCriterionResolvedDescription|here/Description" i18n:translate="">Criterion description</dd>