title: Bootstrap form fields not aligning in layout
body: <p>I want a form in Bootstrap that renders two text fields on the same line, with text following each input:</p>
  
  <p><code>Label 1A</code> <code>Input 1A</code> <code>Text 1A</code> &nbsp;&nbsp;&nbsp;&nbsp; <code>Label 1B</code> <code>Input 1B</code> <code>Text 1B</code></p>
  
  <p><code>Label 2A</code> <code>Input 2A</code> <code>Text 2A</code> &nbsp;&nbsp;&nbsp;&nbsp; <code>Label 2B</code> <code>Input 2B</code> <code>Text 2B</code></p>
  
  <p>Basically, the two inputs on the same line are related, so I want them next to each other. I've sort of accomplished that using this markup:</p>
  
  <pre><code>&lt;form class="inline-form"&gt;
    &lt;div class="col-sm-8"&gt;
      &lt;div class="form-group"&gt;
        &lt;label for="input1" class="control-label"&gt;ABCDEFG&lt;/label&gt;
        &lt;input type="text" name="input1" id="input1"&gt; units
        &lt;label for="input1_max" class="control-label"&gt;&lt;/label&gt;
        &lt;input type="text" name="input1_max" id="input1_max"&gt; units
      &lt;/div&gt;
      &lt;div class="form-group"&gt;
        &lt;label for="input2" class="control-label"&gt;ABCD&lt;/label&gt;
        &lt;input type="text" name="input2" id="input2"&gt; units
        &lt;label for="input2_max" class="control-label"&gt;&lt;/label&gt;
        &lt;input type="text" name="input2_max" id="input2_max"&gt; units
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Also see <a href="https://jsfiddle.net/m60q0fjg/" rel="nofollow noreferrer">this fiddle</a>. If you widen the HTML output you should see the effect I'm describing. </p>
  
  <p>The problem with this is the form fields are not aligned, <em>and</em> the layout gets really screwy for small screen sizes.</p>
  
  <p>First and foremost, I'd like the fields to all align nicely when viewed in a standard desktop browser. I've tried various classes with no success. </p>
  
  <p>But if there's a better way to do this, I'd love to hear that too.</p>
  
  <p>Thank you for any and all help!</p>