Class: NfgUi::Components::Elements::FormControl
- Inherits:
-
Base
- Object
- Bootstrap::Components::Base
- Base
- NfgUi::Components::Elements::FormControl
- Defined in:
- lib/nfg_ui/components/elements/form_control.rb
Overview
FormControl doc coming soon
Constant Summary
Constants included from Traits
Traits::REGISTERED_TRAITS, Traits::TRAIT_MODULES
Instance Attribute Summary
Attributes inherited from Bootstrap::Components::Base
#body, #options, #view_context
Instance Method Summary collapse
Methods included from Utilities::Traitable
Methods included from Utilities::Renderable
Methods included from Utilities::Describable
Methods inherited from Bootstrap::Components::Base
#component_family, #data, #href, #html_options, #id, #initialize, #style
Constructor Details
This class inherits a constructor from NfgUi::Bootstrap::Components::Base
Instance Method Details
#render ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/nfg_ui/components/elements/form_control.rb', line 8 def render # this is a place holder, to indicate that this # component is not yet rendering a true bootstrap element content_tag(:b, class: 'text-danger') do 'Form Control Element Component' end end |