I'm trying to positionate text input and button on the same row/line, but the button somehow goes up, see the screenshot.
Code:
<div class="row">
<div class="col-md-8" ng-controller="OrdersController">
<div class="well">
<form role="form" class="form-horizontal">
<div class="row">
<div class="col-lg-8">
<label>Name</label>
<input type="text" class="form-control" placeholder="Enter patient">
</div>
<div class="col-lg-3">
<button type="button" class="btn btn-primary">Create new</button>
</div>
</div>
<hr>
<label>Private notes</label>
<textarea class="form-control" rows="3" placeholder="These notes are for your reference only."></textarea>
<hr>
<div class="col-md-4">
<button type="submit" class="btn btn-primary">Save</button>
<button type="submit" class="btn btn-primary">Open</button>
</div>
</form>
</div>
</div>
</div>
Also you can check out demo on plunker
So, how place them on the same line ?