summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-selectmultiple-part_pkg.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-selectmultiple-part_pkg.html')
-rw-r--r--httemplate/elements/tr-selectmultiple-part_pkg.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/httemplate/elements/tr-selectmultiple-part_pkg.html b/httemplate/elements/tr-selectmultiple-part_pkg.html
index d959a5bae..0b83da02c 100644
--- a/httemplate/elements/tr-selectmultiple-part_pkg.html
+++ b/httemplate/elements/tr-selectmultiple-part_pkg.html
@@ -1,6 +1,5 @@
-<TR>
- <TD ALIGN="right"><% $opt{'label'} || 'Packages' %></TD>
- <TD>
+<& tr-td-label.html, label => emt('Packages'), %opt &>
+ <TD <% $style %>>
<% include( '/elements/select-table.html',
'table' => 'part_pkg',
'name_col' => 'pkg',
@@ -8,12 +7,14 @@
'element_etc' => 'multiple',
%opt,
)
- %>
+ %>
</TD>
</TR>
<%init>
my %opt = @_;
+my $style = $opt{'cell_style'};
+$style = 'STYLE="'.$style.'"' if $style;
</%init>