<form name="deleteAccountForm" novalidate ng-submit="doDeleteAccount(deleteAccountForm.$valid)">
    <div class="modal-header bg-698-blue">
        <h4 class="modal-title text-white" id="modal-title" ng-bind="opts.title"></h4>
        <button ng-click="onClose()" type="button" class="close text-white" data-dismiss="modal"
                aria-label="Close"><span
                aria-hidden="true">&times;</span></button>
    </div>

    <div class="modal-body" id="modal-body">
        <div class="col-12 form-group" ng-bind="opts.message"></div>
        <div class="col-12 form-group">
            <label class="small mb-1 required" for="input_pass" ng-bind="opts.confirmPasswordLabel"></label>
            <input type="password" ng-model="currentPassword" name="password" class="form-control"
                   id="input_pass"
                   ng-class="{'is-invalid' : (deleteAccountForm.password.$touched || deleteAccountForm.password.$dirty)
                   && deleteAccountForm.password.$invalid}"
                   required>
            <div class="invalid-feedback">
                <div ng-show="deleteAccountForm.password.$error.required">
                    {{'INPUT_ERROR.REQUIRED' | translate}}
                </div>
            </div>
        </div>
    </div>

    <div class="modal-footer">
        <button class="btn btn-outline-dark" type="button" ng-click="onClose()" ng-bind="opts.btnCancel"></button>
        <button class="btn btn-danger btn-outline-danger" type="submit"
                ng-bind="opts.btnAccept"></button>
    </div>
</form>