ff8f3a2cb03afb23063c7164fff640223c9e6886
[Plinn.git] / skins / custom_content / sic_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 id="" type="checkbox" name="criterion_ids:list" value="" tal:attributes="value here/getId; id string:cb_${here/getId}"/><input type="hidden" name="criteria.id:records" value="" tal:attributes="value here/getId"/>
7 </td>
8 <td>
9 <fieldset>
10 <legend tal:content="string:catalog_index_${here/Field}" i18n:translate="">Field name</legend>
11 <input type="text" name="criteria.value:records" value="" size="40" tal:attributes="value here/getValueString" /><br/>
12 <input id="" type="radio" name="" value="min" tal:attributes="checked python:here.direction=='min';
13 id string:${here/getId}_min;
14 name string:criteria.direction__${here/getId}:records;
15 " /><label for="" tal:attributes="for string:${here/getId}_min" i18n:translate="">Minimum</label> <input id="" type="radio" name="" value="max" tal:attributes="checked python:here.direction=='max';
16 id string:${here/getId}_max;
17 name string:criteria.direction__${here/getId}:records;
18 " /><label for="" tal:attributes="for string:${here/getId}_max" i18n:translate="">Maximum</label> <input id="" type="radio" name="" value="min:max" tal:attributes="checked python:here.direction=='min:max';
19 id string:${here/getId}_minmax;
20 name string:criteria.direction__${here/getId}:records;
21 " /><label for="" tal:attributes="for string:${here/getId}_minmax" i18n:translate="">Min/Max</label>
22 <dl class="FieldHelp">
23 <dd tal:content="here/Description" i18n:translate="">Criterion description</dd>
24 </dl>
25 </fieldset>
26 </td>
27 </tr>
28 </table>