2 % my( $groupnum, %opt ) = @_;
4 % $opt{'access_group'} ||= [ qsearch( 'access_group', {} ) ]; # { disabled=>'' } )
6 % #warn "***** tr-select-access_group: \n". Dumper(%opt);
8 % if ( scalar(@{ $opt{'access_group'} }) == 0 ) {
11 <INPUT TYPE="hidden" NAME="groupnum" VALUE="">
16 <TD ALIGN="right"><% $opt{'label'} || 'Access group' %></TD>
18 <% include( '/elements/select-access_group.html', $groupnum, %opt ) %>