Here is the alignment I am aiming for with the Phone and Extension fields in the form:
https://i.sstatic.net/JRmDU.png
This is the code snippet I have written for the Phone and Extension row:
<div class="row form-group">
<label class="control-label col-md-2" for="phone">Phone</label>
<div class="col-md-6">
<input class="col-md-5" id="AdminPhone" name="AdminPhone" type="text" value="" placeholder="(999) 999-9999">
<div class="form-group col-md-7 pull-right">
<label class="control-label col-md-1" style="text-align: right" for="AdminExt">Ext</label>
<input class="col-md-6 pull-right" id="AdminExt" name="AdminExt" type="text" value="" placeholder="1234">
</div>
</div>
</div>
Here is how it is beginning to look like:
https://i.sstatic.net/EhZvX.png
Or possibly like this:
https://i.sstatic.net/b0jRG.png
I am not sure what structure would make it work correctly. Any suggestions?
For example, the Email section above it that is functioning properly follows this format:
<div class="row form-group">
<label class="control-label col-md-2" for="Email">Email</label>
<div class="col-md-6">
<input id="AdminEmail" name="AdminEmail" type="text" value="" style="width: 100%" placeholder="Email">
<span class="glyphicon glyphicon-envelope form-control-feedback" style="right: 10px; line-height: 27px; color: lightblue"></span>
</div>
<div class="col-md-4">
<div>
<input class="checkbox-inline" id="ShowAdminPhone" name="ShowAdminPhone" type="checkbox" value="true"><input name="ShowAdminPhone" type="hidden" value="false">
<label class="control-label" for="Show_Admin_phone">Show Admin phone</label>
</div>
</div>
</div>