
Reaction::UI::Widget::Field::Boolean - A mutable boolean field

Provides a widget to manipulate a boolean value. This is a subclass of Reaction::UI::Widget::Field::Mutable.

Will set the argument field_type to checkbox.
Will render the is_checked_yes fragment if the viewport has a true value_string or is_checked_no if it does not.

share/skin/base/layout/field/mutable/boolean.tt
This layout set extends the next field/mutable layout set in the skin inheritance.
The following layouts are provided:
Renders the input element that will be the checkbox.
Sets the value element attribute to 1 and renders the is_checked fragment afterwards.
Sets the checked attribute of the input element to checked.
Empty.

See Reaction::Class for authors.

See Reaction::Class for the license.