Class: Bh::FormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- Bh::FormBuilder
- Includes:
- Bh::Form::CheckBoxHelper, Bh::Form::FieldHelper, Bh::Form::FieldsForHelper, Bh::Form::FieldsetHelper, Bh::Form::LegendHelper, Bh::Form::RadioButtonHelper, Bh::Form::SelectHelper, Bh::Form::StaticControlHelper, Bh::Form::SubmitHelper
- Defined in:
- lib/bh/form_builders/form_builder.rb
Class Method Summary collapse
-
.textual_field_helpers ⇒ Object
@note: field_helpers are returned as symbols in ActionView 4 and as strings in ActionView 3.
Methods included from Bh::Form::SubmitHelper
Methods included from GlyphiconHelper
Methods included from Bh::Form::StaticControlHelper
Methods included from Bh::Form::SelectHelper
Methods included from Bh::Form::RadioButtonHelper
Methods included from Bh::Form::LegendHelper
Methods included from Bh::Form::FieldsForHelper
Methods included from Bh::Form::FieldsetHelper
Methods included from PanelHelper
Methods included from Bh::Form::FieldHelper
Methods included from Bh::Form::CheckBoxHelper
Class Method Details
.textual_field_helpers ⇒ Object
@note: field_helpers are returned as symbols in ActionView 4 and as
strings in ActionView 3
25 26 27 28 29 |
# File 'lib/bh/form_builders/form_builder.rb', line 25 def self.textual_field_helpers non_textual_field_helpers = %w(label hidden_field range_field check_box radio_button select submit fields_for label) field_helpers.map(&:to_s) - non_textual_field_helpers end |