0
我尝试使用表单组,并形成如下的结构给出,但按钮似乎并不与文本框对齐。
我当前的代码是:
<div class="form-group">
<span for="artistname" class="control-label">Enter Artist Name</span></br>
<input id="artistname" type="text" ng-modal="artist1" class="form-control text_element_width" placeholder="Enter Artist Name." />
<button type="button" class="btn btn-default glyphicon glyphicon-plus" ng-click="addArtistChoice()">Add Artist</button>
</div>
<div data-ng-repeat="artist in artists" class="form-group">
<input type="text" ng-modal="{{artist.artistName}}" class="form-control text_element_width" placeholder="Enter Artist Name.">
<a href=""><span class="glyphicon glyphicon-trash" ng-click="removeArtistChoice(artist)" /></a>
</div>