<div class="modal fade" id="modalFaq" role="dialog">
    <div class="modal-dialog" role="document" style="width: 80%">
        <div class="modal-content" style="overflow-y: scroll; max-height: calc(100vh - 155px)">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span></button>
                <h4 class="modal-title">@{{ titleModal }}</h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Câu hỏi:</label>
                            <input type="text" ng-model="faq.question" placeholder="/question" class="form-control"/>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Trả lời:</label>
                            <textarea ck-editor ng-model="faq.answer" rows="2" class="form-control"></textarea>
                        </div>
                    </div>
                    <div class="col-md-12">
                        <div class="form-group">
                            <label>Trạng thái:</label>
                            <select class="form-control"
                                    ng-options="key as value for (key, value) in statuses"
                                    ng-model="faq.status">
                                <option value="">-- Chọn trạng thái --</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="rows">
                    <div class="col-md-12">
                        <p class="text-danger">@{{ failMessage }}</p>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                <button type="button" class="btn btn-primary" ng-click="save()" ng-disabled="isShowLoading">Save
                </button>
            </div>
        </div>
    </div>
</div>
