summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-10-11 16:23:14 -0400
committerMitch Jackson <mitch@freeside.biz>2018-10-11 16:25:06 -0400
commite07e59d2463eae2cdd421401a2d98f3879dc97f3 (patch)
treef9882182b511c754b978fbaafd80335846d6e846 /httemplate/elements
parentff55f01a808466110c60c63b9368bbd062fd0618 (diff)
RT# 73422 Improve customer contact report
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-checkboxes.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/elements/tr-checkboxes.html b/httemplate/elements/tr-checkboxes.html
new file mode 100644
index 000000000..1de211b12
--- /dev/null
+++ b/httemplate/elements/tr-checkboxes.html
@@ -0,0 +1,19 @@
+<% include('tr-td-label.html', @_ ) %>
+
+ <TD <% $style %>>
+ <% include('checkboxes.html', @_) %>
+ </TD>
+
+</TR>
+
+<%init>
+
+my %opt = @_;
+
+my $onchange = $opt{'onchange'}
+ ? 'onChange="'. $opt{'onchange'}. '(this)"'
+ : '';
+
+my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+</%init>