Sha256: b1545edbb2f3347537519d859512297cc9b6190713fd5150a3851a2022e827e3

Contents?: true

Size: 1.83 KB

Versions: 11

Compression:

Stored size: 1.83 KB

Contents

module Effective
  module FormBuilderInputs
    def effective_ckeditor_text_area(method, options_tag = nil, options = {}, html_options = {})
      Inputs::EffectiveCkeditorTextArea::Input.new(@object, @object_name, @template, method, options, html_options).to_html
    end

    def effective_date_time_picker(method, options = {})
      Inputs::EffectiveDateTimePicker::Input.new(@object, @object_name, @template, method, options, options).to_html
    end

    def effective_date_picker(method, options = {})
      Inputs::EffectiveDatePicker::Input.new(@object, @object_name, @template, method, options, options).to_html
    end

    def effective_panel_select(method, options_tag = nil, options = {}, html_options = {})
      options[:collection] = options_tag
      Inputs::EffectivePanelSelect::Input.new(@object, @object_name, @template, method, options, html_options).to_html
    end

    def effective_price(method, options = {})
      Inputs::EffectivePrice::Input.new(@object, @object_name, @template, method, options, options).to_html
    end

    def effective_radio_buttons(method, options = {})
      Inputs::EffectiveRadioButtons::Input.new(@object, @object_name, @template, method, options, options).to_html
    end

    def effective_static_control(method, options = {})
      Inputs::EffectiveStaticControl::Input.new(@object, @object_name, @template, method, options, options).to_html
    end

    def effective_select(method, options_tag = nil, options = {}, html_options = {})
      options[:collection] = options_tag
      Inputs::EffectiveSelect::Input.new(@object, @object_name, @template, method, options, html_options).to_html
    end

    def effective_tel(method, options_tag = nil, options = {}, html_options = {})
      Inputs::EffectiveTel::Input.new(@object, @object_name, @template, method, options, html_options).to_html
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_form_inputs-1.1.10 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.9 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.8 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.7 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.6 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.5 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.4 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.3 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.2 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.1 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.1.0 app/models/effective/form_builder_inputs.rb