diff options
Diffstat (limited to 'httemplate/elements/tr-select-pkg_class.html')
-rw-r--r-- | httemplate/elements/tr-select-pkg_class.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/httemplate/elements/tr-select-pkg_class.html b/httemplate/elements/tr-select-pkg_class.html index 7f37e816e..542142466 100644 --- a/httemplate/elements/tr-select-pkg_class.html +++ b/httemplate/elements/tr-select-pkg_class.html @@ -1,16 +1,14 @@ -% % my( $classnum, %opt ) = @_; % -% $opt{'pkg_class'} ||= [ qsearch( 'pkg_class', {} ) ]; # { disabled=>'' } ) +% $opt{'pkg_class'} ||= [ qsearch( 'pkg_class', { disabled=>'' } ) ]; % % #warn "***** tr-select-pkg-class: \n". Dumper(%opt); % % if ( scalar(@{ $opt{'pkg_class'} }) == 0 ) { - <INPUT TYPE="hidden" NAME="classnum" VALUE=""> -% } else { +% } else { <TR> <TD ALIGN="right"><% $opt{'label'} || 'Package class' %></TD> @@ -18,5 +16,5 @@ <% include( '/elements/select-pkg_class.html', $classnum, %opt ) %> </TD> </TR> -% } +% } |