<table border="0" cellpadding="0" cellspacing="2" class="FormLayout">
 <tr>
  <td width="20">
   <input type="checkbox" value="" name="criterion_ids:list" id=""
          tal:attributes="value here/getId; id string:cb_${here/getId}">
  </td>
  <td align="left">
   <label for="" tal:attributes="for string:cb_${here/getId}">
    <strong title="" tal:attributes="title here/Description">List:</strong>
    <tt tal:content="here/Field">Field</tt>
   </label>
   <input type="hidden" name="criteria.id:records" value=""
          tal:attributes="value here/getId">
  </td>
 </tr>
 <tr valign="top">
  <td width="20">&nbsp;</td>
  <td valign="top">
   <strong>Value:</strong><br>
   <textarea name="criteria.value:lines:records" rows="5" cols="40"
             tal:content="python:modules['string'].join(here.value, '\n')"
   ></textarea><br>
   <strong>Operator:</strong><br>
   <select name="criteria.operator:records">
    <option value=""
            tal:attributes="selected not: here/operator">-- none --</option>
    <option value="or"
            tal:attributes="selected python:here.operator == 'or'">or</option>
    <option value="and" 
            tal:attributes="selected python:here.operator == 'and'">and</option>
   </select>
  </td>
 </tr>
</table>

