2 <form method="get" action="[% base %]/[% classmetadata.moniker %]/search/">
4 <legend>Search</legend>
5 [% FOR col = classmetadata.columns;
6 NEXT IF col == "id" OR col == classmetadata.table _ "_id";
9 <span class="field">[% classmetadata.colnames.$col; %]</span>
10 [% SET element = classmetadata.cgi.$col;
11 IF element.tag == "select";
12 USE element_maker = Class("HTML::Element");
13 SET element = element.unshift_content(
14 element_maker.new("option", value," "));
19 <input type="submit" name="search" value="search"/>