<div class="form-group">
    <label style="float: right;"
           ng-if="editmode === 'true'"
           class="formlyEditDelete">
        <a ng-click="$parent.$parent.edit(options)">
            {{"Edit" | translate}}
        </a> |
        <a ng-click="$parent.$parent.deleteField(options)">
            {{"Delete" | translate}}
        </a>
    </label>
    <label for="{{id}}">
        {{options.label || 'Select'}}{{options.required ? '*' : ''}}
    </label>
    <select class="form-control"
            id="{{id}}"
            ng-model="options.value"
            ng-required="options.required"
            ng-disabled="options.disabled"
            ng-init="options.value = options.value || options.options[options.default]"
            ng-options="option.name group by option.group for option in options.options track by option.name"></select>
    <small class="form-text text-muted" ng-show="options.helpText">{{options.helpText}}</small>
</div>