X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-selectmultiple-part_pkg.html;h=0b83da02c83eb171e1ca4acaf432386646083348;hp=bd96d1c3a37697137a0eecc1ddc0541a4bde075b;hb=6dda95db961112c4a422ebe282b6dfc7935be40e;hpb=d48a1dfe73f6296ebcc296574b164f33440ed1c7 diff --git a/httemplate/elements/tr-selectmultiple-part_pkg.html b/httemplate/elements/tr-selectmultiple-part_pkg.html index bd96d1c3a..0b83da02c 100644 --- a/httemplate/elements/tr-selectmultiple-part_pkg.html +++ b/httemplate/elements/tr-selectmultiple-part_pkg.html @@ -1,19 +1,20 @@ -% -% my( %opt ) = @_; -% - - - - <% $opt{'label'} || 'Packages' %> - +<& tr-td-label.html, label => emt('Packages'), %opt &> + > <% include( '/elements/select-table.html', - 'table' => 'part_pkg', - 'name_col' => 'pkg', - 'value' => '', - 'empty_label' => '(none)', - 'element_etc' => 'multiple', + 'table' => 'part_pkg', + 'name_col' => 'pkg', + 'disable_empty' => 1, + 'element_etc' => 'multiple', %opt, ) - %> + %> + +<%init> + +my %opt = @_; +my $style = $opt{'cell_style'}; +$style = 'STYLE="'.$style.'"' if $style; + +