Module: Bh::Form::FieldHelper
Instance Method Summary collapse
Methods included from GlyphiconHelper
Instance Method Details
#field(method, field_type, options = {}, &block) ⇒ Object
8 9 10 11 12 |
# File 'lib/bh/helpers/form/field_helper.rb', line 8 def field(method, field_type, = {}, &block) [:placeholder] ||= method.to_s.humanize append_class! , 'form-control' base_field method, field_type, , &block end |