<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 || 'Number'}}{{options.required ? '*' : ''}}
    </label>
    <input type="number"
           class="form-control"
           id="{{id}}"
           placeholder="{{options.placeholder}}"
           ng-required="options.required"
           ng-disabled="options.disabled"
           ng-minlength="{{options.minlength}}"
           ng-maxlength="{{options.maxlength}}"
           Min-Max-Error-Message="{{ options.min ? 'Minimum value' : ''|translate }}{{options.min ? ': ' + options.min + '. ' : ''}}{{ options.max ? 'Maximum value' : ''|translate }}{{options.max ? ': ' + options.max + '.' : ''}}"
           validate="{ minMax: 'validationService.validateByMinMax($value, options.min, options.max)' }"
           ng-model="options.value" />
    <small class="form-text text-muted" ng-show="options.helpText">{{options.helpText}}</small>
</div>