Class: StimulusPlumbers::Form::Fields::Hint
- Inherits:
-
Plumber::Base
- Object
- Plumber::Base
- StimulusPlumbers::Form::Fields::Hint
- Defined in:
- lib/stimulus_plumbers/form/fields/hint.rb
Constant Summary
Constants included from Plumber::HtmlOptions
Plumber::HtmlOptions::STIMULUS_SPACEJOIN_KEYS
Instance Attribute Summary
Attributes inherited from Plumber::Base
Instance Method Summary collapse
Methods inherited from Plumber::Base
Methods included from Plumber::HtmlOptions
#extract_classes, #merge_data_options, #merge_html_options, #merge_string_option, #normalize_part
Constructor Details
This class inherits a constructor from StimulusPlumbers::Plumber::Base
Instance Method Details
#render(text:, id:) ⇒ Object
7 8 9 10 |
# File 'lib/stimulus_plumbers/form/fields/hint.rb', line 7 def render(text:, id:) = (theme.resolve(:form_details)) template.content_tag(:p, text, id: id, **) end |