Class: BootFormBuilder

Inherits:
SimpleForm::FormBuilder
  • Object
show all
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 buttons(*args, &block)
  @template. 'div', class: 'form-groups' do
    @template. 'div', class: ['col-sm-offset-3', 'col-sm-9'] do
      button(:submit, *args, &block)
    end
  end
end