<div class="faq-editCategory">
    <div class="modal-header">
        <button type="button" class="close closebtn" data-ng-click="cancel()" aria-hidden="true">&times;</button>
        <h1 class="modal-title">{{'Category' | translate}}</h1>
    </div>
    <div class="modal-body wizdom-link-collection">
        <div class="wizdom-linkcollection-editwebpart-container link-collection-content">
            <div class="row">
                <div class="col-sm-12">
                    <form name="form" role="form">
                        <div class="form-group">
                            <label class="control-label">{{'Title' | translate}}</label>
                            <input class="form-control" type="text" ng-model="category.title" required>
                        </div>
                        <!-- hidden because category.pictureUrl seems to be used only in templates no longer in use (webpartAdvancedOverview.html and webpartSimpleOverview.html)
                        <div class="form-group">
                            <label class="col-sm-2">{{'Picture' | translate}}:</label>
                            <div class="col-sm-6">
                                <wizdom365-image-picker ng-hide="category.pictureUrl" ng-model="category.pictureUrl"></wizdom365-image-picker>
                                <img ng-src="{{category.pictureUrl}}" style="max-width: 200px; max-height: 200px" ng-show="category.pictureUrl" />
                                <a class="glyphicon glyphicon-trash" aria-hidden="true" ng-show="category.pictureUrl" ng-click="category.pictureUrl = ''"></a>
                            </div>
                        </div>
                        -->
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer" style="white-space: nowrap;">
        <button class="btn btn-primary wiz-btn-padding" ng-disabled="form.$invalid" ng-click="save();">{{'Save' | translate}}</button>
        <button class="btn btn-default wiz-btn-padding" ng-click="cancel();">{{'Cancel' | translate}}</button>
    </div>
</div>