I'm trying to format a form according to my UI/UX specifications, where there is a parent label and two sub-labels. Can this be achieved using Bootstrap?
https://i.stack.imgur.com/J8wJZ.png
However, I'm struggling to align the columns and rows properly. Is it feasible to do so? Or does this involve nested forms which are not permitted? Below is the code snippet I've been working on, along with a link to a fiddle.
<form class="form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label">Parent Label</label>
<div class="col-sm-8">
<div class="row">
<label class="control-label">Sub Label 1</label>
<input class="form-control input-sm" type="text" value="Dynamically Pulled via Razor">
</div>
<div class="row">
<label class="control-label">Sub Label 2</label>
<input class="form-control input-sm" type="text" value="Dynamically Pulled via Razor">
</div>
</div>
</div>
</form>