<div class="modal fade" id="modalOptionLink" tabindex="-1" role="dialog" aria-labelledby="modalOptionLink" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header" style="display: flex;">
                <h5 class="modal-title" id="modalOptionLinkLable">Option Link Editor</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-left: auto;">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">

                <div class="form-group">
                    <label>Keyword</label>
                    <input ng-model="activeLink.keyword" type="text" class="form-control">
                </div>

                <div class="form-group">
                    <label>Title</label>
                    <input ng-model="activeLink.title" type="text" class="form-control">
                </div>

                <div class="form-group">
                    <label>Url</label>
                    <input ng-model="activeLink.url" type="text" class="form-control">
                </div>

                <div class="form-group">
                    <label>Category</label>
                    <select ng-model="activeLink.target_id" class="form-control">
                        <option ng-repeat="category in categories" value="@{{ category.id }}">@{{ category.title }}</option>
                    </select>
                </div>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                <button type="button" id="btnSaveLink" class="btn btn-primary" ng-click="save()" ng-disabled="states.loading">Save</button>
            </div>
        </div>
    </div>
</div>