When referring to Bootstrap's document regarding form layout, they suggest utilizing their grid system for aligning labels and inputs horizontally:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<div class="form-group form-row">
<label class="form-control-label col-2" for="field_hasSernum">Has Sernum</label>
<div class="col-10">
<input type="checkbox" class="form-control" name="hasSernum" id="field_hasSernum"/>
</div>
</div>
It’s a straightforward process! By leveraging the full potential of Bootstrap's grid system, you can effectively enhance the display on various device sizes and align elements in different ways.