I am looking to have the input group aligned on the left side and the "Add New" button aligned on the right side of the row.
<div class="row">
<div class="input-group col-sm-6">
<input type="text" class="form-control" placeholder="Search by a substring in good's name.."></input>
<span class="input-group-btn">
<button class="btn btn-default" type="button" onclick="filter()">Search</button>
</span>
</div>
<div class="col-sm-6">
<button class="btn btn-default text-right" type="button" onclick="addNew()">Add new</button>
</div>
</div>
To see this in action, visit: Bootply
Despite being in the same row, the input group and the "Add New" button appear stacked vertically.