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