<div class="modal fade p1-modal" id="page-keyword-assign" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                     ng-click="clearData()">&times;</button>
                <h4 class="modal-title">Assign Category Keyword</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">Page:</label>

                        <div class="col-sm-9 control-label" ng-bind="request.page.post_title"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">Select Node:</label>

                        <div class="col-sm-9">
                            <select2 select2-data="keywordsWithoutPage"
                                     select2-model="request.categoryKeyword.id"></select2>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal"
                        ng-click="clearData()">Close
                </button>
                <button type="button" class="btn btn-primary" data-dismiss="modal"
                        ng-click="assignPage()" ng-disabled="!request.categoryKeyword.id">Save changes
                </button>
            </div>
        </div>
    </div>
</div>