/home/mip/mip/app/Modules/Client/Views/posts/includes/modal-category.blade.php
<!-- Modal for Adding Product Category -->
<div class="modal fade bs-example-modal-md" id="postCategoryModal" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
    <div class="modal-dialog modal-md">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Add New Category</h4>
            </div>
            <div class="modal-body form-horizontal">
                <div class="form-group form-group-sm">
                    <label for="inputEmail3" class="col-sm-3 control-label">Category Name</label>
                    <div class="col-sm-9">
                        {!! Form::text('name', null, ['class'=>'form-control', 'id'=>'post_category_name', 'autocomplete' => 'off']) !!}
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-3 col-sm-9">
                        <div id="hide_onclick_modal">
                            <button type="button" class="btn btn-primary btn-sm" id="addbutton_category">Add Category</button>
                            <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">Close</button>
                        </div>
                        <div id="show_onclick_modal" style="display:none">
                            <button class="btn btn-sm btn-primary"><span class="fa fa-refresh fa-spin"></span> Loading ...</button>
                        </div>
                    </div>
                </div>
                <hr>
                <table class="table table-condensed table-bordered" id="postCategoryTable">
                    <thead>
                        <tr>
                            <th>Name</th>
                            <th>Slug</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>            
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<!-- Modal for Adding Product Category