summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-checkboxes.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2018-10-15 09:24:05 -0700
committerIvan Kohler <ivan@freeside.biz>2018-10-15 09:24:05 -0700
commit793766b8e51bf0bf4c61cbb0fb613d746db3b4fa (patch)
treecec125da7240c058cc880e2594f42c984d1adbd1 /httemplate/elements/tr-checkboxes.html
parent342650d7d4d9e4aafa5c749cff39561a1c5a993a (diff)
parente07e59d2463eae2cdd421401a2d98f3879dc97f3 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
Diffstat (limited to 'httemplate/elements/tr-checkboxes.html')
-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>