Sha256: b7914a4fb710cb8f2260262046f57249a18e98c721efd907718159c5d02f33e8

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 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_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

9 entries across 9 versions & 1 rubygems

Version Path
effective_form_inputs-1.0.9 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.8 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.7 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.6 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.5 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.4 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.3 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.2 app/models/effective/form_builder_inputs.rb
effective_form_inputs-1.0.1 app/models/effective/form_builder_inputs.rb