Class: Bootstrap::Component::HorizontalForm
- Inherits:
-
Form
- Object
- Bootstrap::Component
- Form
- Bootstrap::Component::HorizontalForm
- Defined in:
- mod/bootstrap/lib/bootstrap/component/horizontal_form.rb
Instance Method Summary collapse
Methods inherited from Form
Methods inherited from Bootstrap::Component
add_div_method, add_tag_method, #append, #initialize, #insert, #prepend, render, #render
Methods included from Delegate
#method_missing, #respond_to_missing?
Methods included from BasicTags
Constructor Details
This class inherits a constructor from Bootstrap::Component
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bootstrap::Delegate
Instance Method Details
#left_col_width ⇒ Object
4 5 6 |
# File 'mod/bootstrap/lib/bootstrap/component/horizontal_form.rb', line 4 def left_col_width @child_args.last && @child_args.last[0] || 2 end |
#right_col_width ⇒ Object
8 9 10 |
# File 'mod/bootstrap/lib/bootstrap/component/horizontal_form.rb', line 8 def right_col_width @child_args.last && @child_args.last[1] || 10 end |