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


    <div class="lt-module-page__top lt-module-page-top">
        <div class="lt-module-page-top__title">
            <h1>Configuration</h1>
        </div>
        <div class="lt-module-page-top__actions">
            <div class="saveConfigurationButton">
                <button class="btn btn-primary"
                        ng-disabled="saving"
                        ng-click="saveConfig()">
                    {{saving ? 'Saving' : 'Save configuration' | translate}}
                </button>
            </div>
        </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">
                                <div class="col-xs-4">
                                    <label class="control-label">{{'Template' | filter}}</label>
                                </div>
                                <div class="col-xs-8">
                                    <wizdom365-template-picker template-url="setting.Template['#text']"
                                                               directory-path="Currentmenu/Templates/ViewTemplates">
                                    </wizdom365-template-picker>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>