<div class="form-group">
  <label for="id"
         class="col-sm-1 control-label">{{ "ID" | translate }}:</label>
  <div class="col-sm-2">
    <input id="id"
           class="form-control"
           type="text"
           ng-model="filter.id"/>
  </div>
  <label class="col-sm-1 control-label" ng-if="type == 'virtual_client' || type == 'kundenstamm'">{{ "USERNAME" | translate }}:</label>
  <div class="col-sm-2" ng-if="type == 'virtual_client' || type == 'kundenstamm'">
    <input class="form-control"
           type="text"
           ng-model="filter.fuzzy_username"/>
  </div>
  <label for="text"
         class="col-sm-1 control-label">{{ "TEXT" | translate }}:</label>
  <div class="col-sm-2">
    <input id="text"
           class="form-control"
           type="text"
           ng-model="filter.text"/>
  </div>
  <label for="batchnr"
         class="col-sm-1 control-label" ng-if="(type == 'virtual_client' && config.types.virtual_client.batch_nr) || (type == 'kundenstamm' && config.types.kundenstamm.batch_nr)">{{ "BATCH_NR" | translate }}:</label>
  <div class="col-sm-2" ng-if="(type == 'virtual_client' && config.types.virtual_client.batch_nr) || (type == 'kundenstamm' && config.types.kundenstamm.batch_nr)">
      <select id="BATCH_NR"
              ng-model="filter.batch_nr"
              class="form-control">
              <option ng-repeat="bnr in config.general.batch_nr" value="{{bnr.batch_nr}}">{{ bnr.batch_nr }} ({{ bnr.batch_nr ? bnr.session : "—" }})</option>
      </select> 
  </div>
</div>
<div class="form-group">
  <label for="show"
         class="col-sm-1 control-label" ng-if="type == 'virtual_client' || type == 'kundenstamm'">{{ "SHOW" | translate }}:</label>
  <div class="col-sm-2">
      <select ng-model="filter.show"
              class="form-control"
              ng-if="type == 'virtual_client' || type == 'kundenstamm'">
              <option ng-value="{{ undefined }}">{{ "ALL" | translate }}</option>
              <option value="ALERT">{{ "ONLY_ALERTS" | translate }}</option>
              <option value="MATCH">{{ "ONLY_MATCH" | translate }}</option>
              <option value="NOT_ALERT">{{ "ONLY_NOT_ALERTS" | translate }}</option>
      </select> 
  </div>
</div>