Display a set of checkboxes/radio buttons to create links. |
|
| see label, radio, toggle | |
<r:checkbox role='blog' nodes='1'/> <r:checkbox role='icon' nodes='images' in='project'/> |
If the target relation is unique (has one), like for “icon”, this method displays radio buttons. Otherwise, checkboxes are displayed.
radio is an alias for “checkbox”.
literal values
You can also use the checkbox with literal values:
<r:checkbox values='1,10,15' show='new, processing, ready' name='status'/>
If you use translations, you can use tshow:
<r:checkbox values='1,10,15' tshow='status_list' name='status'/>