X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fcheckboxes.html;h=b07b6545faed0fc4df05b16aaa5fc716f38e8b2a;hp=b120adab7b446e238e9994ba605e2bb57828ad78;hb=3f2a7b01b59902faed5767d81e2959e131bdbdfd;hpb=0ce1ba66efbd074aca5182bb3e42bd99ff55472a diff --git a/httemplate/elements/checkboxes.html b/httemplate/elements/checkboxes.html index b120adab7..b07b6545f 100644 --- a/httemplate/elements/checkboxes.html +++ b/httemplate/elements/checkboxes.html @@ -6,7 +6,7 @@ Example: # required - #? 'name_callback' => sub { }, + #not yet 'name_callback' => sub { }, 'names_list' => [ 'value', 'other value', @@ -27,7 +27,9 @@ Example: - +
> + +% unless ( $opt{'disable_links'} ) { +% } + % my $num=0; % foreach my $item ( @{ $opt{'names_list'} } ) { % @@ -104,4 +108,8 @@ $opt{'error_checked_callback'} ||= sub { $cgi->param($opt{'element_name_prefix'}. $name ); }; +my $style = ''; +if ($opt{'style'}) { + $style = 'STYLE="' . $opt{'style'} . '"'; +}
( @@ -37,6 +39,8 @@ Example: )