<table class="TwoColumnForm" i18n:domain="plinn"
			 tal:define="bgcolor here/base_properties/contentBackgroundColor"
			 tal:attributes="style string:background-color:$bgcolor">
  <tr>
    <td>
      <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"/>
    </td>
    <td>
      <fieldset>
        <legend tal:content="string:catalog_index_${here/Field}" i18n:translate="">Field name</legend>
         <input type="text" name="criteria.value:records" value="" size="40" tal:attributes="value here/getValueString" /><br/>
         <input id="" type="radio" name="" value="min" tal:attributes="checked python:here.direction=='min';
                          id string:${here/getId}_min;
                          name string:criteria.direction__${here/getId}:records;
                         " /><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';
                          id string:${here/getId}_max;
                          name string:criteria.direction__${here/getId}:records;
                         " /><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';
                          id string:${here/getId}_minmax;
                          name string:criteria.direction__${here/getId}:records;
                         " /><label for="" tal:attributes="for string:${here/getId}_minmax" i18n:translate="">Min/Max</label>
        <dl class="FieldHelp">
          <dd tal:content="here/Description" i18n:translate="">Criterion description</dd>
        </dl>
      </fieldset>
    </td>
  </tr>
</table>