].has_location">
    <input class="six crm-action-menu" crm-ui-select="{data: location_type_id, allowClear: false, placeholder: ts('Primary')}" ng-model="field.location_type_id" />
    </span>
  <span ng-repeat="(list, options) in option_list" ng-if="(field.location_type_id || !fields[field.name].has_location) && fields[field.name].option_list === list">
    <input class="six" crm-ui-select="{data: options, minimumResultsForSearch: 10}" ng-model="field[list]" />
  </span>
</div>
