
<form method="post" action="menu/addReviews" onsubmit="event.preventDefault();menu.addReviews(this)">
    <input type="hidden" value="<?= $order_id; ?>" name="order_id" id="order_id">
    <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <div class="row" >
                <div class="close" style="margin-right:20px"><i class="fa fa-times" aria-hidden="true" data-dismiss="modal"></i></div>
                    <div class="col-md-3 " >
                        <i class="order-icon your-order-icon" style="position: unset"></i>
                    </div>
                    <div class="col-md-9 " >
                        <h5 style="color: #8100FF;font-size: 18px"><?= $_SESSION['merchantInfo']['restaurant_name']; ?></h5>
                        <p>Delivery #<?= $order_id; ?></p>
                    </div>
                </div>
            </div>
            <div class="modal-body">
                <div>
                <div class="raty-stars" data-score="5" style="cursor: pointer;">
                                                <span class="user-rating">
                                        <input type="radio" name="rating" value="5"><span class="star"></span>

                                        <input type="radio" name="rating" value="4"><span class="star"></span>

                                        <input type="radio" name="rating" value="3"><span class="star"></span>

                                        <input type="radio" name="rating" value="2"><span class="star"></span>

                                        <input type="radio" name="rating" value="1"><span class="star"></span>
                                        </span></div>
            </div>
            <div>
                <textarea required="required" class="grey-inputs" name="review_content" id="review_content"></textarea>
            </div>

            </div>

            <div class="section-label top25" >

            </div>

            <div class="modal-footer">

                <div class="row food-item-actions" >
                    <div class="col-md-4 col-xs-4 border into-row " ></div>
                    <div class="col-md-4 col-xs-4 border into-row" >
                        <input type="submit" value="PUBLISH REVIEW" class="orange-button inline">
                    </div>
                    <div class="col-md-4 col-xs-4 border into-row" >
                        <button type="button" class="center upper-text green-button inline" data-dismiss="modal">Close</button>
                    </div>
                </div>

            </div>


        </div>

    </div>
</form>
