title: Display two fields side by side in a Bootstrap Form
body: <p>I am trying to display a year range input on a form that has a 2 textboxes. One for the min and one for the max and are separated by a dash. </p>
  
  <p>I want this all on the same line using bootstrap, but I cannot seem to get it to work correctly.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>&lt;form id="Form1" class="form-horizontal" role="form" runat="server"&gt;
      &lt;div class="row"&gt;
          &lt;div class="form-group"&gt;
              &lt;label for="tbxContactPhone" class="col-sm-2 control-label"&gt;Year&lt;/label&gt;
              &lt;div class="col-sm-4"&gt;
                  &lt;asp:TextBox ID="TextBox1" CssClass="form-control" runat="server" MaxLength="4" /&gt;
              &lt;/div&gt;
              &lt;label class="col-sm-2 control-label"&gt;-&lt;/label&gt;
              &lt;div class="col-sm-4"&gt;
                  &lt;asp:TextBox ID="TextBox2" CssClass="form-control" runat="server" MaxLength="4" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Here's what it looks like now:</p>
  
  <p><img src="https://i.imgur.com/iBMOwvS.png" alt="screenshot"></p>