Class: ActionView::Helpers::FormBuilder
- Inherits:
-
Object
- Object
- ActionView::Helpers::FormBuilder
- Defined in:
- lib/bootstrap-form/form_helper.rb
Overview
:nodoc:
Instance Method Summary collapse
- #bootstrap_collection_select(method, collection, value_method, text_method, options = {}, html_options = {}) ⇒ Object
- #bootstrap_file_field(method, options = {}) ⇒ Object
- #bootstrap_password_field(method, options = {}) ⇒ Object
- #bootstrap_text_area(method, options = {}) ⇒ Object
- #bootstrap_text_field(method, options = {}) ⇒ Object
Instance Method Details
#bootstrap_collection_select(method, collection, value_method, text_method, options = {}, html_options = {}) ⇒ Object
49 50 51 |
# File 'lib/bootstrap-form/form_helper.rb', line 49 def bootstrap_collection_select(method, collection, value_method, text_method, = {}, = {}) @template.bootstrap_collection_select(@object_name, method, collection, value_method, text_method, (), ) end |
#bootstrap_file_field(method, options = {}) ⇒ Object
53 54 55 56 |
# File 'lib/bootstrap-form/form_helper.rb', line 53 def bootstrap_file_field(method, ={}) self.multipart = true @template.bootstrap_file_field(@object_name, method, ()) end |
#bootstrap_password_field(method, options = {}) ⇒ Object
45 46 47 |
# File 'lib/bootstrap-form/form_helper.rb', line 45 def bootstrap_password_field(method, ={}) @template.bootstrap_password_field(@object_name, method, ()) end |
#bootstrap_text_area(method, options = {}) ⇒ Object
58 59 60 |
# File 'lib/bootstrap-form/form_helper.rb', line 58 def bootstrap_text_area(method, ={}) @template.bootstrap_text_area(@object_name, method, ()) end |
#bootstrap_text_field(method, options = {}) ⇒ Object
41 42 43 |
# File 'lib/bootstrap-form/form_helper.rb', line 41 def bootstrap_text_field(method, ={}) @template.bootstrap_text_field(@object_name, method, ()) end |