class Bh::FormBuilder

@api private

Public Class Methods

textual_field_helpers() click to toggle source

@note: field_helpers are returned as symbols in ActionView 4 and as

strings in ActionView 3
# File lib/bh/core_ext/rails/form_builder.rb, line 30
def self.textual_field_helpers
  non_textual_field_helpers = %w(label hidden_field range_field check_box
    file_field radio_button select submit fields_for label)
  field_helpers.map(&:to_s) - non_textual_field_helpers
end