<div ng-controller="Wizdom365RevisionEmailController" class="lt-module-page">

    <div class="lt-module-page__top lt-module-page-top">
        <div class="lt-module-page-top__title">
            <h1>{{'Email timerjob' | translate}}</h1>
        </div>
        <div class="lt-module-page-top__actions">
            <button class="btn btn-primary"
                    ng-disabled="saving"
                    ng-click="saveConfig()">
                {{saving ? 'Saving' : 'Save configuration' | translate}}
            </button>
        </div>
    </div>

    <div class="lt-module-page__content">
        <div class="container-fluid">
            <div class="wizdom-controls">
                <div class="row wizdom-controls-row noborder">
                    <div class="col-sm-12">
                        <form role="form" class="form-horizontal">
                            <div class="form-group" ng-repeat="setting in settings" ng-hide="setting.name == 'AfterDueDayEmailFrequency' && checkVisibleAfterDueDayEmailFrequency()">
                                <div class="col-xs-4">
                                    <label class="control-label">{{(setting.name == 'AfterDueDay' ? 'Send mail after revision date is passed' : setting.friendlyName) | translate}}</label>
                                </div>
                                <div class="col-xs-8" wizdom-include="getSettingTemplate(setting.type);">
                                    
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    
</div>