NAME
Reaction::UI::Widget::Field::Collection - A field representing a collection
DESCRIPTION
This field class will render a collection of values found in the viewport's value_names
and localised before passed to the layout.
FRAGMENTS
widget
renders label
and list
passing additional variable "viewport"
label
content
contains the viewport's label
list
renders fragment item over the viewport's value_names
item
content
contains the value of the current item ($_ / $_{_})
LAYOUT SETS
base
share/skin/base/layout/field/collection.tt
The following layouts are provided:
- widget
-
Renders the
label_box
andlist
fragments. - label_box
-
Renders a
span
element containing thelabel
argument. - list
-
Renders the
item
s inside adiv
andul
element. - item
-
Renders the
name
argument inside ali
element.
default
share/skin/default/layout/field/collection.tt
This layout set extends the NEXT
one in the parent skin.
The following layouts are provided:
- label_box
-
The same as in the
base
skin, except the label is surrounded by astrong
element.
AUTHORS
See Reaction::Class for authors.
LICENSE
See Reaction::Class for the license.