<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 || 'Attachment'}}{{options.required ? '*' : ''}}
    </label>
    <wizdom365-image-picker-input 
                                  class="imagePicker" 
                                  result="options.value" 
                                  wizdommodule="Webform" 
                                  subfolder="'Images'" 
                                  placeholder="{{options.placeholder}}">
    </wizdom365-image-picker-input>
    <img ng-src="{{options.value}}" ng-hide="options.hideImagePreview || options.value == null" class="image-picker-preview" ng-show="options.value" />
    <small class="form-text text-muted" ng-show="options.helpText">{{options.helpText}}</small>
</div>