Class: VueFormFor::FormBuilder
- Inherits:
-
ActionView::Helpers::FormBuilder
- Object
- ActionView::Helpers::FormBuilder
- VueFormFor::FormBuilder
- Includes:
- VueOptionsResolver
- Defined in:
- lib/vue-form-for/form_builder.rb
Instance Method Summary collapse
- #button(value = nil, options = {}, &block) ⇒ Object
- #check_box(method, options = {}, checked_value = "1", unchecked_value = "0") ⇒ Object
- #label(method, text = nil, options = {}, &block) ⇒ Object
- #radio_button(method, tag_value, options = {}) ⇒ Object
- #submit(value = nil, options = {}) ⇒ Object
Instance Method Details
#button(value = nil, options = {}, &block) ⇒ Object
39 40 41 42 |
# File 'lib/vue-form-for/form_builder.rb', line 39 def (value = nil, = {}, &block) () super(value, , &block) end |
#check_box(method, options = {}, checked_value = "1", unchecked_value = "0") ⇒ Object
24 25 26 27 |
# File 'lib/vue-form-for/form_builder.rb', line 24 def check_box(method, = {}, checked_value = "1", unchecked_value = "0") () super(method, , checked_value, unchecked_value) end |
#label(method, text = nil, options = {}, &block) ⇒ Object
19 20 21 22 |
# File 'lib/vue-form-for/form_builder.rb', line 19 def label(method, text = nil, = {}, &block) () super(method, text, , &block) end |
#radio_button(method, tag_value, options = {}) ⇒ Object
29 30 31 32 |
# File 'lib/vue-form-for/form_builder.rb', line 29 def (method, tag_value, = {}) () super(method, tag_value, ) end |
#submit(value = nil, options = {}) ⇒ Object
34 35 36 37 |
# File 'lib/vue-form-for/form_builder.rb', line 34 def submit(value = nil, = {}) () super(value, ) end |