3 Displays a selectbox populated with values from realestate_location.
4 key: realestate_location.realestatenum
5 value: realestate_location.location_title
9 <% include( '/elements/select-table.html',
11 table => 'realestate_location',
12 name_col => 'location_title',
13 hashref => { 'disabled' => '' },
14 value => $select_value,
23 # I'd like to change the behavior of this select based on if
24 # a new item is being created, or an existing item being edited
27 my $select_value = $opt{'curr_value'} || $opt{'value'};
29 # use Data::Dumper qw(Dumper);
30 # print Dumper(\%opt);