<div class="form-group">
    <div class="radio-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 class="control-label">
            {{options.label}}{{options.required ? '*' : ''}}
        </label>
        <div class="form-control" style="height: auto;" ng-class="{'ng-valid': (options.required && options.value),'ng-invalid':(options.required && !options.value)}">
            <div class="radio" style="margin-left: 5px"
                 ng-repeat="option in options.options">
                <label>
                    <input type="radio"
                           name="{{id}}"
                           id="{{id + '_'+ $index}}"
                           ng-value="option.value"
                           ng-required="options.required"
                           ng-model="options.value" />
                    {{option.name}}
                </label>
            </div>
        </div>
    </div>
    <small class="form-text text-muted" ng-show="options.helpText">{{options.helpText}}</small>
</div>