title: How do I connect my Rails search form with the bootstrap search design?
body: <p>Here's my search_form I created with Ruby - </p>
  
  <pre><code>        &lt;%= form_tag(posts_path, :method =&gt; "get", id: "search-form") do %&gt;
          &lt;%= text_field_tag :search, params[:search], placeholder: "Search Posts" %&gt;
          &lt;%= submit_tag "Search" %&gt;
  </code></pre>
  
  <p>I don't like how it's so plain. I want it to look like the design that Bootstrap provide in its templates.</p>
  
  <pre><code>&lt;div class="input-group"&gt;
    &lt;input type="text" class="form-control" placeholder="Search for..."&gt;
    &lt;span class="input-group-btn"&gt;
      &lt;button class="btn btn-default" type="button"&gt;Go!&lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;!-- /input-group --&gt;
  </code></pre>
  
  <p>So how do I use the bootstrap search form design, but still let it have proper search capabilities through my database?</p>