= bootstrap_form_for @category,layout: :horizontal do |f| = f.text_field :name = f.submit 'OK',class: 'btn-sm btn-success'