Class: Interview::HorizontalFormContainer
- Defined in:
- lib/interview/controls/horizontal_form_container.rb
Instance Attribute Summary
Attributes inherited from Control
Instance Method Summary collapse
Methods inherited from Control
#ancestors, #build_child, #build_with_params, #find_attribute, #find_attribute!, #initialize, #set_attributes, #set_defaults
Constructor Details
This class inherits a constructor from Interview::Control
Instance Method Details
#build(b) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/interview/controls/horizontal_form_container.rb', line 4 def build(b) b.section html_class: 'row' do b.section html_class: 'col-xs-9 col-xs-offset-3' do yield if block_given? end end end |