<div id="NoticeboardTagsAdminPage" ng-controller="Wizdom365NoticeboardTagsController as vm" class="lt-module-page">

    <div class="lt-module-page__top lt-module-page-top">
        <div class="lt-module-page-top__title">
            <h1>Tags</h1>
        </div>
        <div class="lt-module-page-top__actions">
            <div class="saveConfigurationButton">
                <button class="btn btn-primary"
                        ng-disabled="saving"
                        ng-click="vm.saveConfig()">
                    {{'Save configuration' | translate}}
                </button>
            </div>
        </div>
    </div>

    <div class="panel panel-default lt-module-page__content-panel">
        <div class="panel-body">
            <div class="container-fluid">
                <div class="row wizdom-controls-row noborder">
                    <form role="form" class="form-horizontal">
                        <div class="form-group">
                            <div class="col-sm-4">
                                <label class="control-label">{{'Make tags available' | translate}}</label>
                            </div>

                            <div class="col-sm-8">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox" ng-model="vm.settingElement.TaggingFeature.tagsEnabled" class="lt-checkbox" />
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-4">
                                <label class="control-label controls-textbox">{{'SharePoint Term Set:' | translate}}</label>
                            </div>
                            <div class="col-sm-8">
                                <div wizdom365-taxonomy-term-set-picker appname="Noticeboard Admin Term Set" selectedvalue="vm.settingElement.TaggingFeature.selectedTermSet"></div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>
