class documentation
class ThreeWayToggleWidget(forms.RadioSelect):
Widget that renders the three-way toggle button and allows to set the
attributes of the individual inputs (radio buttons) as option_attrs
as
well as the attributes of the container as attrs.
Method | __init__ |
Store arguments and option attributes for later use. |
Method | create |
Pass the option attributes to the actual options |
Method | get |
Pass label and tooltip to the context variable |
Class Variable | option |
Undocumented |
Class Variable | template |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | option |
Undocumented |
Instance Variable | tooltip |
Undocumented |