title: Bootstrap input-group side by side text boxes
body: <p>How can I have 2 text boxes side by side in an bootstrap input group with a dropdown at the end.</p>
  
  <p>When I use a span with class input-group-addon its working fine. <a href="http://jsfiddle.net/8grrtpmj/" rel="nofollow">See this fiddle</a>.</p>
  
  <pre><code>&lt;div class="input-group input-group-sm" style="width:400px"&gt;
      &lt;input type="text" class="form-control"  &gt;
      &lt;span class="input-group-addon" id="sizing-addon1"&gt;label&lt;/span&gt;
      &lt;input type="text" class="form-control"  &gt;
      &lt;div class="input-group-btn"&gt;
          &lt;button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;&lt;span class="caret"&gt;&lt;/span&gt;&lt;/button&gt;
          &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;&lt;a href="#"&gt;Copy pair&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Paste pair&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  Below is not working without the span label with class input-group-addon
  
  &lt;div class="input-group input-group-sm" style="width:400px"&gt;
      &lt;input type="text" class="form-control"  &gt;
  
      &lt;input type="text" class="form-control"  &gt;
      &lt;div class="input-group-btn"&gt;
          &lt;button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;&lt;span class="caret"&gt;&lt;/span&gt;&lt;/button&gt;
          &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;&lt;a href="#"&gt;Copy pair&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Paste pair&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>when I remove the middle span then they go below one another.</p>
  
  <p>Any suggestion to fix this??</p>