Module: FlexaFormtasticBootstrap::Inputs::Base::Labelling
- Includes:
- Formtastic::Inputs::Base::Labelling
- Included in:
- FlexaFormtasticBootstrap::Inputs::Base
- Defined in:
- lib/flexa_formtastic_bootstrap/inputs/base/labelling.rb
Instance Method Summary collapse
Instance Method Details
#label_html_options ⇒ Object
8 9 10 11 12 13 |
# File 'lib/flexa_formtastic_bootstrap/inputs/base/labelling.rb', line 8 def {}.tap do |opts| opts[:for] ||= [:id] opts[:class] = [opts[:class]] end end |