app/form_builders/labeled_bootstrap_form_builder.rb
def submit(label,options={})
    @template.content_tag :div, class: "form-group submit" do
      klass=((options[:class]||"").split(" ")+["btn form-control post"]).join(" ")
      super(label,options.merge(class:klass))
    end
  end
# creates a submit button with btn, post casses appended and puts to a form-group submit
creates a submit button with btn, post casses appended and puts to a form-group submit
creates a submit button with btn post casses appended and puts to a form - group submit
def submit(label,options={})
    @template.content_tag :div, class: "form-group submit" do
      klass=((options[:class]||"").split(" ")+["btn form-control post"]).join(" ")
      super(label,options.merge(class:klass))
    end
  end
def submit ( label , options = { } ) @template . content_tag :div , class : "form-group submit" do klass = ( ( options [ :class ] || "" ) . split ( " " ) + [ "btn form-control post" ] ) . join ( " " ) super ( label , options . merge ( class : klass ) ) end end
creates a submit button with btn, post casses appended and puts to a form-group submit
creates a submit button with btn post casses appended and puts to a form - group submit
label
options