<div class="modal fade p1-modal" id="page-keyword-bulk-create" 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">Bulk Create Category Keyword</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">Chosen Pages:</label>

                        <div class="col-sm-8 control-label"
                             ng-bind="getBulkObjectsNames('bulkPages', 'post_title')"></div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-4 control-label">Parent Category Node:</label>

                        <div class="col-sm-8">
                            <select2 select2-data="categoryKeywords" select2-model="request.parent.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="bulkCreatePage()">Bulk create
                </button>
            </div>
        </div>
    </div>
</div>