<form class="form-inline" role="form" > 
    <div class="form-group col-md-8">
        <input id="id_{{localid}}" ng-model="addUriText" class="semantic-tree form-control col-md-10" type="text" placeholder="{{'Add a new theme' | translate}}"
               data-url="{{ dataurl }}" data-query="{{ dataquery }}" data-root-query="{{ datarootquery }}" 
               data-childs-query="{{ datachildsquery }}" data-child-count-query="{{ datachildcountquery }}" /> 
        {{ 'or' | translate}}
        <span id="dialog-link-container-{{localid}}" class="dialog-link-container ui-state-default ui-corner-all"> 
            <a href="#" id="dialog-link-{{localid}}" class="btn dialog-link" title="Browse">{{'Browse' | translate}}</a> 
        </span>
        <span id="dialog-{{localid}}" class="dialog" title="Select term"><span id="term-tree-{{localid}}"></span></span>
    </div>
    <div class="form-group">
        <button type="submit" class="btn btn-primary" ng-click="addUriToList()">{{'Add' | translate}}</button>
    </div>
</form>