Module: Bh::Form::SelectHelper

Includes:
BaseHelper
Included in:
Bh::FormBuilder
Defined in:
lib/bh/helpers/form/select_helper.rb

Instance Method Summary collapse

Methods included from GlyphiconHelper

#glyphicon

Instance Method Details

#select(method, choices = nil, options = {}, html_options = {}, &block) ⇒ Object



8
9
10
11
12
13
# File 'lib/bh/helpers/form/select_helper.rb', line 8

def select(method, choices = nil, options = {}, html_options = {}, &block)
  append_class! html_options, 'form-control'
  base_field method, :select, options do
    super method, choices, options, html_options, &block
  end
end