Reaction::UI::Widget::Field::Mutable::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.
field_type
checkbox
Will render the is_checked_yes fragment if the viewport has a true value_string or is_checked_no if it does not.
is_checked_yes
value_string
is_checked_no
share/skin/base/layout/field/mutable/boolean.tt
This layout set extends the next field/mutable layout set in the skin inheritance.
field/mutable
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.
is_checked
Sets the checked attribute of the input element to checked.
checked
Empty.
See Reaction::Class for authors.
See Reaction::Class for the license.
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.