title: How to inline form control input with label
body: <p>Using Bootstrap 4, how do you get a form control input to inline with the label. I couldn't find any examples of how to inline form controls while maintaining responsive rows and columns per form group.</p>
  
  <p>The problem I'm having is that the labels take up a whole block, I want a more compact controls where the label is on the same block as the control while still having each group of labels and inputs be in a responsive grid.</p>
  
  <pre><code>&lt;form action="#" autocomplete="nope"&gt;
      &lt;div class="form-row"&gt;
          &lt;div class="form-group col-md-4"&gt;
              &lt;label for="companyName" class="mr-2 col-form-label-sm"&gt;Name:&amp;nbsp;&lt;/label&gt;
              &lt;input type="text" class="form-control form-control-sm" autocomplete="off" name="companyName" id="companyName" placeholder="Company Name" required="" pattern="^.+$" value=""&gt;
          &lt;/div&gt;
          &lt;div class="form-group col-md-4"&gt;
              &lt;label for="version" class="mr-2 col-form-label-sm"&gt;Version:&amp;nbsp;&lt;/label&gt;
              &lt;input type="text" class="form-control form-control-sm" autocomplete="off" name="version" id="version" placeholder="Version" required="" pattern="^.+$" value=""&gt;
          &lt;/div&gt;
          &lt;div class="form-group col-md-4"&gt;
              &lt;label for="notes" class="mr-2 col-form-label-sm"&gt;Notes:&amp;nbsp;&lt;/label&gt;
              &lt;input type="text" class="form-control form-control-sm" autocomplete="off" name="notes" id="notes" placeholder="Notes" pattern="^.+$" value=""&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="form-row"&gt;
          &lt;div class="form-group col-lg-12"&gt;
              &lt;button type="submit" class="btn btn-primary btn-sm"&gt;Add&lt;/button&gt;
              &lt;button type="button" class="btn btn-light btn-sm ml-1"&gt;Cancel&lt;/button&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>