<div class="modal fade p1-modal" id="category-assign-modal" 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">&times;</button>
                <h4 class="modal-title" id="editModalTitle">Assign WP Category</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form" id="p1tm-assign-form">
                    <input type="hidden" id="keyword-edit-type" value=""/>
                    <input type="hidden" id="keyword-edit-id" value=""/>

                    <div class="form-group">
                        <input type="hidden" name="category-id" id="category-id"/>
                        <label for="keyword-edit-newval" class="col-sm-3 control-label">Select Category</label>

                        <div class="col-sm-9">
                            <div id="category-select"></div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <span id="editModal-ajax"></span>
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button id="category-assign" type="button" class="btn btn-primary" data-dismiss="modal">Save changes
                </button>
            </div>
        </div>
    </div>
</div>