X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-checkbox.html;h=5761263cf8947f638fd9b49b151015db085f7664;hb=c7bc6770f2f0b4413b788f8fc9abde6ad5548da3;hp=2e6d1f10763e2a40c4aef8d373ce286af45832c1;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/httemplate/elements/tr-checkbox.html b/httemplate/elements/tr-checkbox.html index 2e6d1f107..5761263cf 100644 --- a/httemplate/elements/tr-checkbox.html +++ b/httemplate/elements/tr-checkbox.html @@ -1,13 +1,18 @@ +<%doc> + +Example: + + <& /elements/tr-checkbox.html, + 'label' => 'Do or do not', + 'field' => 'field_name', + 'value' => 'Y', + &> + + <% include('tr-td-label.html', @_ ) %> > - - <% $onchange %> - > + <% include('checkbox.html', @_) %>