Bootstrap inline form not working with simple form
<p>I am having trouble to display my simple_form inline:</p>

<pre><code>&lt;div class="row"&gt;
  &lt;div class="col-md-12"&gt;
    &lt;%= simple_form_for '', :html =&gt; { :class =&gt; 'form-inline' }, url: vehicleTrack_path, :method =&gt; :get do |f| %&gt;
        &lt;%= f.input :search, collection: @all_vehicles, :label_method =&gt; :objectno, :label =&gt; 'Vehiculo' %&gt;
        &lt;%= f.button :submit, value: "Buscar",:name =&gt; nil%&gt;
    &lt;% end %&gt;
   &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Displays:</p>

<p><a href="https://i.stack.imgur.com/M8aWf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M8aWf.png" alt="enter image description here"></a></p>

<p>However if I just try Bootstrap demo code it works fine:</p>

<pre><code>&lt;form class="form-inline"&gt;
  &lt;input type="text" class="input-small" placeholder="Email"&gt;
  &lt;input type="password" class="input-small" placeholder="Password"&gt;
  &lt;label class="checkbox"&gt;
    &lt;input type="checkbox"&gt; Remember me
  &lt;/label&gt;
  &lt;button type="submit" class="btn"&gt;Sign in&lt;/button&gt;
&lt;/form&gt;
</code></pre>

<p>Displays:</p>

<p><a href="https://i.stack.imgur.com/DhXL6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DhXL6.png" alt="enter image description here"></a></p>