##
'table' => 'table_name',
'name_col' => 'name_column', #or method if you pass an order_by
+ # order_by is currently broken, though
#strongly recommended (you want your forms to be "sticky" on errors, right?)
'curr_value' => 'current_value',
<OPTION VALUE=""><% $opt{'empty_label'} || 'all' %>
% }
+% # XXX fix this eventually, when we have time to test it
% foreach my $record ( sort { $a->$name_col() cmp $b->$name_col()
% || $a->$key() <=> $b->$key()
% }