Sha256: 5e48ee9f3457e69a91803e80957328d781e35182e82d131d06dbaae5c16600d9

Contents?: true

Size: 1.4 KB

Versions: 29

Compression:

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

29 entries across 29 versions & 1 rubygems

Version Path
effective_form_inputs-1.0.0 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.8 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.7 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.6 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.5 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.4 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.3 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.2 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.1 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.9.0 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.18 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.17 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.16 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.15 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.14 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.13 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.12 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.11 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.10 app/models/effective/form_builder_inputs.rb
effective_form_inputs-0.8.9 app/models/effective/form_builder_inputs.rb