Class: StimulusPlumbers::Form::Fields::Group
- Inherits:
-
Plumber::Base
- Object
- Plumber::Base
- StimulusPlumbers::Form::Fields::Group
- Defined in:
- lib/stimulus_plumbers/form/fields/group.rb
Instance Attribute Summary
Attributes inherited from Plumber::Base
Instance Method Summary collapse
Methods inherited from Plumber::Base
Methods included from Plumber::Renderer
#set_slots, #slot_block_for, #slot_kwargs_for, #slot_renderable?
Methods included from Plumber::Options::Aria
Methods included from Plumber::Options::Html
Constructor Details
This class inherits a constructor from StimulusPlumbers::Plumber::Base
Instance Method Details
#render(layout: :stacked, error: false, &block) ⇒ Object
7 8 9 10 |
# File 'lib/stimulus_plumbers/form/fields/group.rb', line 7 def render(layout: :stacked, error: false, &block) = (theme.resolve(:form_group, layout: layout, error: error)) template.content_tag(:div, **, &block) end |