summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-checkbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-checkbox.html')
-rw-r--r--httemplate/elements/tr-checkbox.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/elements/tr-checkbox.html b/httemplate/elements/tr-checkbox.html
new file mode 100644
index 0000000..c3cf92d
--- /dev/null
+++ b/httemplate/elements/tr-checkbox.html
@@ -0,0 +1,19 @@
+<% include('tr-td-label.html', @_ ) %>
+
+ <TD <% $style %>>
+ <% include('checkbox.html', @_) %>
+ </TD>
+
+</TR>
+
+<%init>
+
+my %opt = @_;
+
+my $onchange = $opt{'onchange'}
+ ? 'onChange="'. $opt{'onchange'}. '(this)"'
+ : '';
+
+my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
+
+</%init>