<div class="modal-header">
    <button type="button" class="close closebtn" data-ng-click="cancel()" aria-hidden="true">&times;</button>
    <h1 class="modal-title">{{'Enter result' | translate}}</h1>
</div>
<div class="modal-body">
    <div class="row">
        <div class="col-lg-12 col-xs-12 col-md-12 col-sm-12"><b>{{'Select correct option' | translate}}:</b></div>
    </div>
    <div class="row">
        <div ng-model="data.correctId" class="col-lg-12 col-xs-12 col-md-12 col-sm-12">
            <div ng-show="!data.bettingOptions.length">
                {{'No options added' | translate}}
            </div>
            <div class="radio" ng-repeat="option in data.bettingOptions">
                <label>
                    <input type="radio" ng-value="option.id" data-ng-model="$parent.data.correctId" /> {{option.title}}
                </label>
            </div>
        </div>
    </div>
    <div wizdom365-spinner="" loading="saving"></div>
</div>
<div class="modal-footer">
    <button class="btn btn-success wiz-btn-padding" ng-click="updateConfig();" ng-disabled="saving">{{'Save' | translate}}</button>
    <button class="btn btn-default wiz-btn-padding" ng-disabled="loading" ng-click="cancel();">{{"Cancel" | translate}}</button>
</div>