<div class="modal-header">
    <button type="button" class="close closebtn" data-ng-click="cancel()" aria-hidden="true">&times;</button>
    <h1 class="modal-title">{{'Choose email language' | translate}}</h1>
</div>
<div class="modal-body">
    <div class="container-fluid">

        <wizdom365-spinner style="position: absolute; top: 50%; left: 50%;" loading="loading"></wizdom365-spinner>

        <div ng-show="!loading">

            <p>
                <b>{{'Current email notification language' | translate}}</b>: {{originalCurrentUserPreferedLanguage}}
            </p>
            <select class="form-control" ng-model="currentUserPreferedLanguage"
                    ng-options="lang.tag as lang.displayName for lang in avaliableLanguages">
            </select>
        </div>

    </div>
</div>
<div class="modal-footer">
    <div class="text-right">
        <button type="button" class="btn btn-primary wiz-btn-padding" ng-click="save()">{{'Save' | translate}}</button>
        <button type="button" class="btn btn-default wiz-btn-padding" ng-click="cancel()">{{'Cancel' | translate}}</button>
    </div>
</div>

