diff options
| author | Mitch Jackson <mitch@freeside.biz> | 2018-02-03 20:16:47 -0600 |
|---|---|---|
| committer | Mitch Jackson <mitch@freeside.biz> | 2018-10-28 15:04:13 -0400 |
| commit | be6ebb643a9482bdc036e5974d1939daeeaa7379 (patch) | |
| tree | b482028048e6c267bd79f0e888b4d8571283c176 /httemplate/elements/tr-checkbox-multiple.html | |
| parent | 945bc9a8c3edf867cbaea0aa2af738d73ac180c8 (diff) | |
RT# 73422 Fix report Customer Contacts
Diffstat (limited to 'httemplate/elements/tr-checkbox-multiple.html')
| -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 4d754b007..baf18f916 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 %>> |
