Module: Effective::FormBuilderInputs
- Defined in:
- app/models/effective/form_builder_inputs.rb
Instance Method Summary collapse
- #effective_ckeditor_text_area(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
- #effective_date_picker(method, options = {}) ⇒ Object
- #effective_date_time_picker(method, options = {}) ⇒ Object
- #effective_price(method, options = {}) ⇒ Object
- #effective_select(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
- #effective_static_control(method, options = {}) ⇒ Object
- #effective_tel(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
Instance Method Details
#effective_ckeditor_text_area(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
3 4 5 |
# File 'app/models/effective/form_builder_inputs.rb', line 3 def effective_ckeditor_text_area(method, = nil, = {}, = {}) Inputs::EffectiveCkeditorTextArea::Input.new(@object, @object_name, @template, method, , ).to_html end |
#effective_date_picker(method, options = {}) ⇒ Object
11 12 13 |
# File 'app/models/effective/form_builder_inputs.rb', line 11 def effective_date_picker(method, = {}) Inputs::EffectiveDatePicker::Input.new(@object, @object_name, @template, method, , ).to_html end |
#effective_date_time_picker(method, options = {}) ⇒ Object
7 8 9 |
# File 'app/models/effective/form_builder_inputs.rb', line 7 def effective_date_time_picker(method, = {}) Inputs::EffectiveDateTimePicker::Input.new(@object, @object_name, @template, method, , ).to_html end |
#effective_price(method, options = {}) ⇒ Object
15 16 17 |
# File 'app/models/effective/form_builder_inputs.rb', line 15 def effective_price(method, = {}) Inputs::EffectivePrice::Input.new(@object, @object_name, @template, method, , ).to_html end |
#effective_select(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
23 24 25 26 |
# File 'app/models/effective/form_builder_inputs.rb', line 23 def effective_select(method, = nil, = {}, = {}) [:collection] = Inputs::EffectiveSelect::Input.new(@object, @object_name, @template, method, , ).to_html end |
#effective_static_control(method, options = {}) ⇒ Object
19 20 21 |
# File 'app/models/effective/form_builder_inputs.rb', line 19 def effective_static_control(method, = {}) Inputs::EffectiveStaticControl::Input.new(@object, @object_name, @template, method, , ).to_html end |
#effective_tel(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
28 29 30 |
# File 'app/models/effective/form_builder_inputs.rb', line 28 def effective_tel(method, = nil, = {}, = {}) Inputs::EffectiveTel::Input.new(@object, @object_name, @template, method, , ).to_html end |