Module: RailsBootstrapForm

Extended by:
ActiveSupport::Autoload
Defined in:
lib/rails_bootstrap_form/inputs.rb,
lib/rails_bootstrap_form.rb,
lib/rails_bootstrap_form/engine.rb,
lib/rails_bootstrap_form/helpers.rb,
lib/rails_bootstrap_form/version.rb,
lib/rails_bootstrap_form/inputs/base.rb,
lib/rails_bootstrap_form/configuration.rb,
lib/rails_bootstrap_form/inputs/select.rb,
lib/rails_bootstrap_form/helpers/choice.rb,
lib/rails_bootstrap_form/helpers/errors.rb,
lib/rails_bootstrap_form/helpers/labels.rb,
lib/rails_bootstrap_form/helpers/buttons.rb,
lib/rails_bootstrap_form/inputs/check_box.rb,
lib/rails_bootstrap_form/inputs/text_area.rb,
lib/rails_bootstrap_form/inputs/url_field.rb,
lib/rails_bootstrap_form/helpers/help_text.rb,
lib/rails_bootstrap_form/inputs/date_field.rb,
lib/rails_bootstrap_form/inputs/file_field.rb,
lib/rails_bootstrap_form/inputs/text_field.rb,
lib/rails_bootstrap_form/inputs/time_field.rb,
lib/rails_bootstrap_form/inputs/week_field.rb,
lib/rails_bootstrap_form/inputs/color_field.rb,
lib/rails_bootstrap_form/inputs/date_select.rb,
lib/rails_bootstrap_form/inputs/email_field.rb,
lib/rails_bootstrap_form/inputs/month_field.rb,
lib/rails_bootstrap_form/inputs/phone_field.rb,
lib/rails_bootstrap_form/inputs/range_field.rb,
lib/rails_bootstrap_form/inputs/time_select.rb,
lib/rails_bootstrap_form/input_group_builder.rb,
lib/rails_bootstrap_form/inputs/hidden_field.rb,
lib/rails_bootstrap_form/inputs/number_field.rb,
lib/rails_bootstrap_form/inputs/radio_button.rb,
lib/rails_bootstrap_form/inputs/search_field.rb,
lib/rails_bootstrap_form/inputs/static_field.rb,
lib/rails_bootstrap_form/field_wrapper_builder.rb,
lib/rails_bootstrap_form/inputs/datetime_field.rb,
lib/rails_bootstrap_form/inputs/password_field.rb,
lib/rails_bootstrap_form/inputs/rich_text_area.rb,
lib/rails_bootstrap_form/inputs/weekday_select.rb,
lib/rails_bootstrap_form/bootstrap_form_builder.rb,
lib/rails_bootstrap_form/bootstrap_form_options.rb,
lib/rails_bootstrap_form/helpers/required_field.rb,
lib/rails_bootstrap_form/inputs/datetime_select.rb,
lib/rails_bootstrap_form/inputs/telephone_field.rb,
lib/rails_bootstrap_form/inputs/time_zone_select.rb,
lib/rails_bootstrap_form/inputs/collection_select.rb,
lib/rails_bootstrap_form/inputs/datetime_local_field.rb,
lib/generators/rails_bootstrap_form/install_generator.rb,
lib/rails_bootstrap_form/inputs/collection_check_boxes.rb,
lib/rails_bootstrap_form/inputs/collection_radio_buttons.rb,
lib/rails_bootstrap_form/inputs/grouped_collection_select.rb,
lib/rails_bootstrap_form/action_view_extensions/bootstrap_form_helper.rb

Overview

-*- warn_indent: true -*-

Defined Under Namespace

Modules: ActionViewExtensions, FieldWrapperBuilder, Generators, Helpers, InputGroupBuilder, Inputs Classes: BootstrapFormBuilder, BootstrapFormOptions, Configuration, Engine

Constant Summary collapse

VERSION =
"0.9.9".freeze
REQUIRED_RAILS_VERSION =
"~> 7.0".freeze
@@field_error_proc =
proc do |html_tag, _instance_tag|
  html_tag
end

Class Method Summary collapse

Class Method Details

.configObject



30
31
32
# File 'lib/rails_bootstrap_form.rb', line 30

def config
  @config ||= RailsBootstrapForm::Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



34
35
36
# File 'lib/rails_bootstrap_form.rb', line 34

def configure
  yield config
end

.eager_load!Object



24
25
26
27
28
# File 'lib/rails_bootstrap_form.rb', line 24

def eager_load!
  super
  RailsBootstrapForm::Helpers.eager_load!
  RailsBootstrapForm::Inputs.eager_load!
end