1 <% include( 'select.html',
3 'options' => \@conditions, #reverse order if we ever need to spec
4 'labels' => { '' => 'Select Condition' },
7 <% include( 'select.html',
8 'name' => $opt{'field'}.'_op',
9 'id' => ($opt{'field'}||$opt{'id'}).'_op',
13 <% include( 'input-text.html',
14 'name' => $opt{'field'}.'_params',
15 #XXX curr value... anything else?
47 'Human Generated' => 1,
54 #XXX curr value -> hidden op / param / param selects depending
56 my @op = ( 'is', 'is not', 'in', 'not in' );
57 my @op_number = ( 'is', 'is_not', 'less than', 'greater than' );
59 my @myop = @op; #XXX $number{$curr_value} ? @op_number : @op;
60 #XXX and a fancy onchange handler... yes.
61 #XXX (and for total hiding of the %bool one)