<!-- Modal -->
<div class="modal fade" id="amazonItemModal" tabindex="-1" role="dialog" aria-labelledby="amazonItemModalLabel">
    <div class="modal-dialog modal-lg" role="document">
        <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="amazonItemModalLabel">상품정보 변경</h4>
            </div>
            <div class="modal-body">
                <div class="row col-sm-12">
                    <form class="form-horizontal">
                        <input type="text" name="videos" class="hide">
                        <div class="form-group"></div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label">Title</label>
                            <div class="col-sm-11">
                                <input type="text" class="form-control ds-amz-title">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-1 control-label">ASIN</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control ds-amz-asin">
                            </div>

                            <label class="col-sm-2 control-label">AMZ Category</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control ds-amz-category">
                            </div>

                            <label class="col-sm-1 control-label">Price</label>
                            <div class="col-sm-2">
                                <input type="text" class="form-control ds-amz-price">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-3 control-label"></label>
                            <div class="col-sm-5">
                                <select name="moveOrCopy" class="form-control btn btn-default">
                                    <option value="">작업유형</option>
                                    <option value="move">이동</option>
                                    <option value="copy">복사</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">앱타입</label>
                            <div class="col-sm-5">
                                <select name="appType" class="form-control app-type-select">
                                    <option value="">앱타입</option>
                                    <?php foreach ($apptypes as $a) echo '<option value="' . $a->id . '">' . $a->name . '</option>' ?>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">앱이름</label>
                            <div class="col-sm-5">
                                <select name="app" class="form-control app-name-select">
                                    <option value="">앱이름</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">1차 카테고리</label>
                            <div class="col-sm-5">
                                <select name="parent" class="form-control category-parent-select">
                                    <option value="">1차 카테고리</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">2차 카테고리</label>
                            <div class="col-sm-5">
                                <select name="children" class="form-control category-children-select">
                                    <option value="">2차 카테고리</option>
                                </select>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer selamat-text-center">
                <button type="button" class="btn btn-default" data-dismiss="modal">취소</button>
                <button type="button" class="btn btn-primary video-movecopy-category-target-modal">저장</button>
            </div>
        </div>
    </div>
</div>