Class: BootFormBuilder
- Inherits:
-
SimpleForm::FormBuilder
- Object
- SimpleForm::FormBuilder
- BootFormBuilder
- Defined in:
- lib/boot_form_builder.rb
Instance Method Summary collapse
Instance Method Details
#buttons(*args, &block) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/boot_form_builder.rb', line 2 def (*args, &block) @template.content_tag 'div', class: 'form-groups' do @template.content_tag 'div', class: ['col-sm-offset-3', 'col-sm-9'] do (:submit, *args, &block) end end end |