diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-02-03 20:16:47 -0600 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-02-03 20:16:47 -0600 |
commit | 560af69840e7e3fcebf65d5d56ca4efc0851efec (patch) | |
tree | c23eae4cce2166f55788618fd090f9f2e7fd7cfb /httemplate/elements | |
parent | cbb6450c25690e5b3fccc6cfddd497de45f062d5 (diff) |
RT# 73422 Fix report Customer Contacts
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/tr-checkbox-multiple.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/elements/tr-checkbox-multiple.html b/httemplate/elements/tr-checkbox-multiple.html index 4d754b0..baf18f9 100644 --- a/httemplate/elements/tr-checkbox-multiple.html +++ b/httemplate/elements/tr-checkbox-multiple.html @@ -1,3 +1,23 @@ +<%doc> + +Display a <tr> containing multiple checkboxes + +USAGE: + +<& /elements/tr-checkbox-multipe.html, + label => emt('Label'), + field => 'field_name', + options => ['opt1', 'opt2'], + labels => { + opt1 => 'Option 1', + opt2 => 'Option 2', + }, + value => { + opt2 => '1', # opt2 defaults as checked + } +&> + +</%doc> <% include('tr-td-label.html', @_ ) %> <TD <% $style %>> |