ok

Mini Shell

Direktori : /home2/selectio/www/application/views/partials/
Upload File :
Current File : /home2/selectio/www/application/views/partials/_modal_rate_product.php

<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<div class="modal fade" id="rateProductModal" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content modal-custom">
            <!-- form start -->
            <?php echo form_open('add-review-post'); ?>
            <div class="modal-header">
                <h5 class="modal-title"><?php echo trans("rate_this_product"); ?></h5>
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true"><i class="icon-close"></i> </span>
                </button>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-12">
                        <div class="row-custom">
                            <div class="rate-product">
                                <span><?php echo trans("your_rating"); ?></span>
                                <div class="rating-stars">
                                    <label class="label-star" data-star="5" for="star5"><i class="icon-star-o"></i></label>
                                    <label class="label-star" data-star="4" for="star4"><i class="icon-star-o"></i></label>
                                    <label class="label-star" data-star="3" for="star3"><i class="icon-star-o"></i></label>
                                    <label class="label-star" data-star="2" for="star2"><i class="icon-star-o"></i></label>
                                    <label class="label-star" data-star="1" for="star1"><i class="icon-star-o"></i></label>
                                </div>

                            </div>
                        </div>
                        <div class="form-group">
                            <textarea name="review" id="user_review" class="form-control form-input form-textarea" placeholder="<?php echo trans("write_review"); ?>" required></textarea>
                            <input type="hidden" name="rating" id="user_rating" value="1">
                            <input type="hidden" name="product_id" id="review_product_id" value="1">
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-md btn-red" data-dismiss="modal"><?php echo trans("close"); ?></button>
                <button type="submit" class="btn btn-md btn-custom"><?php echo trans("submit"); ?></button>
            </div>
            <?php echo form_close(); ?><!-- form end -->
        </div>
    </div>
</div>

Zerion Mini Shell 1.0