Class | SimpleForm::Wrappers::Many |
In: |
lib/simple_form/wrappers/many.rb
|
Parent: | Object |
A wrapper is an object that holds several components and render them. A component may either be a symbol or any object that responds to `render`. This API allows inputs/components to be easily wrapped, removing the need to modify the code only to wrap input in an extra tag.
`Many` represents a wrapper around several components at the same time. It may optionally receive a namespace, allowing it to be configured on demand on input generation.
namespace | -> | to_sym |
components | [R] | |
defaults | [R] | |
namespace | [R] |