diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/checkboxes.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/elements/checkboxes.html b/httemplate/elements/checkboxes.html index 69ef18fb9..1f342241d 100644 --- a/httemplate/elements/checkboxes.html +++ b/httemplate/elements/checkboxes.html @@ -27,7 +27,7 @@ Example: </%doc> -<TABLE CELLSPACING=0 CELLPADDING=0> +<TABLE CELLSPACING=0 CELLPADDING=0 <% $style %>> % unless ( $opt{'disable_links'} ) { @@ -108,4 +108,8 @@ $opt{'error_checked_callback'} ||= sub { $cgi->param($opt{'element_name_prefix'}. $name ); }; +my $style = ''; +if ($opt{'style'}) { + $style = 'STYLE="' . $opt{'style'} . '"'; +} </%init> |