
 <?php $__env->startSection('content'); ?>
   <div class="container">
        <div class="justify-content-center">
            <div class="">
                <div class="card">
                    <div class="card-header">Create Game Rate</div>
                    
                       
                    <div class="card-body">
                        
                        
                        <?php if($errors->any()): ?>
                            <div class="alert alert-danger">
                                <ul>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li><?php echo e($error); ?></li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        <?php endif; ?>
                         <form role="form" method="post" onsubmit="return validateForm('addsstatus')" class="addsstatus" action="<?php echo e(url('admin/game-rate')); ?>" autocomplete="off" enctype="multipart/form-data">
                             <?php echo csrf_field(); ?>
                      <div class="row">

                          <input type="text" class="form-control input-mandatory"
                                        value="<?php echo e($user->name); ?>"  placeholder="" readonly>
                          <input type="hidden" class="form-control input-mandatory"
                                       name="user_id" id="user_id" value="<?php echo e($user->id); ?>"  placeholder="">
                          <?php $__currentLoopData = $game; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $group): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          
                                  
                                      <div c class="col-sm-3">
                                           <label for="title"> Game <span class="require label-mandatory">*</span></label>
                                           
                                            <input type="text" class="form-control input-mandatory"
                                       name="game_id[<?php echo e($group->id); ?>]" id="game_id<?php echo e($group->id); ?>" value="<?php echo e($group->name); ?>"  placeholder="" readonly>
                                          
                                   
                                      </div>
                                        <div c class="col-sm-3">
                                          <label for="title">Rate <i class="fa fa-inr" aria-hidden="true"></i> (10)<span class="require label-mandatory">*</span></label>
                               <input type="text" class="form-control "
                                       name="rate[<?php echo e($group->id); ?>]" id="rate<?php echo e($group->id); ?>" value="<?php echo e(isset($group->gameRate) ? $group->gameRate->rate/10 : ''); ?>" placeholder="">
                                      </div>
                                
                                   <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                     </div>
                           <br>
                            <div class="form-group">

                                <button type="submit"  class="btn btn-primary" >Submit</button>
                            </div>

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.main-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/profcymadev/public_html/whatsappmatka.profcymadev.in/resources/views/admin/game-rate/create.blade.php ENDPATH**/ ?>