title: How to create horizontal forms with twitter bootstrap and rails simple form
body: <p>I am trying to create horizontal forms with simple-form and bootstrap. I have already installed bootstrap using "rails generate simple_form:install". This is what i have in html.erb </p>
  
  <pre><code>    &lt;%= simple_form_for(@company, :html =&gt; { :class =&gt; "form-horizontal" }) do |f| %&gt;
        &lt;div class="form-group"&gt;
          &lt;label class="col-md-4 control-label"&gt;&lt;/label&gt;
          &lt;div class="col-md-4"&gt;
             &lt;%= f.input :name %&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But the form still appears vertically. </p>