Module: Effective::FormBuilderInputs
- Defined in:
- lib/effective_form_inputs/form_builder_inputs.rb,
app/models/effective/form_builder_inputs/effective_tel.rb,
app/models/effective/form_builder_inputs/effective_url.rb,
app/models/effective/form_builder_inputs/effective_email.rb,
app/models/effective/form_builder_inputs/effective_price.rb,
app/models/effective/form_builder_inputs/effective_select.rb,
app/models/effective/form_builder_inputs/effective_date_picker.rb,
app/models/effective/form_builder_inputs/effective_time_picker.rb,
app/models/effective/form_builder_inputs/effective_panel_select.rb,
app/models/effective/form_builder_inputs/effective_radio_buttons.rb,
app/models/effective/form_builder_inputs/effective_static_control.rb,
app/models/effective/form_builder_inputs/effective_date_time_picker.rb,
app/models/effective/form_builder_inputs/effective_ckeditor_text_area.rb
Defined Under Namespace
Classes: EffectiveCkeditorTextArea, EffectiveDatePicker, EffectiveDateTimePicker, EffectiveEmail, EffectivePanelSelect, EffectivePrice, EffectiveRadioButtons, EffectiveSelect, EffectiveStaticControl, EffectiveTel, EffectiveTimePicker, EffectiveUrl
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_panel_select(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
-
#effective_price(method, options = {}) ⇒ Object
-
#effective_radio_buttons(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
-
#effective_time_picker(method, options = {}) ⇒ Object
-
#effective_url(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 'lib/effective_form_inputs/form_builder_inputs.rb', line 3
def effective_ckeditor_text_area(method, options_tag = nil, options = {}, html_options = {})
EffectiveCkeditorTextArea.new(@object, @object_name, @template, method, options, html_options).to_html
end
|
#effective_date_picker(method, options = {}) ⇒ Object
11
12
13
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 11
def effective_date_picker(method, options = {})
EffectiveDatePicker.new(@object, @object_name, @template, method, options, options).to_html
end
|
#effective_date_time_picker(method, options = {}) ⇒ Object
7
8
9
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 7
def effective_date_time_picker(method, options = {})
EffectiveDateTimePicker.new(@object, @object_name, @template, method, options, options).to_html
end
|
#effective_panel_select(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
15
16
17
18
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 15
def effective_panel_select(method, options_tag = nil, options = {}, html_options = {})
options[:collection] = options_tag
EffectivePanelSelect.new(@object, @object_name, @template, method, options, html_options).to_html
end
|
#effective_price(method, options = {}) ⇒ Object
20
21
22
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 20
def effective_price(method, options = {})
EffectivePrice.new(@object, @object_name, @template, method, options, options).to_html
end
|
24
25
26
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 24
def effective_radio_buttons(method, options = {})
EffectiveRadioButtons.new(@object, @object_name, @template, method, options, options).to_html
end
|
#effective_select(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
32
33
34
35
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 32
def effective_select(method, options_tag = nil, options = {}, html_options = {})
options[:collection] = options_tag
EffectiveSelect.new(@object, @object_name, @template, method, options, html_options).to_html
end
|
#effective_static_control(method, options = {}) ⇒ Object
28
29
30
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 28
def effective_static_control(method, options = {})
EffectiveStaticControl.new(@object, @object_name, @template, method, options, options).to_html
end
|
#effective_tel(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
37
38
39
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 37
def effective_tel(method, options_tag = nil, options = {}, html_options = {})
EffectiveTel.new(@object, @object_name, @template, method, options, html_options).to_html
end
|
#effective_time_picker(method, options = {}) ⇒ Object
41
42
43
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 41
def effective_time_picker(method, options = {})
EffectiveTimePicker.new(@object, @object_name, @template, method, options, options).to_html
end
|
#effective_url(method, options_tag = nil, options = {}, html_options = {}) ⇒ Object
45
46
47
|
# File 'lib/effective_form_inputs/form_builder_inputs.rb', line 45
def effective_url(method, options_tag = nil, options = {}, html_options = {})
EffectiveUrl.new(@object, @object_name, @template, method, options, html_options).to_html
end
|