From 560af69840e7e3fcebf65d5d56ca4efc0851efec Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Sat, 3 Feb 2018 20:16:47 -0600 Subject: RT# 73422 Fix report Customer Contacts --- httemplate/elements/tr-checkbox-multiple.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'httemplate/elements/tr-checkbox-multiple.html') 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 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 + } +&> + + <% include('tr-td-label.html', @_ ) %> > -- cgit v1.2.1