
<?php $__env->startPush('style'); ?>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row">
        <div class="col-md-8">

          <?php if(session()->has('message')): ?>
            <p class="btn btn-success btn-block btn-sm custom_message text-left"><?php echo e(session()->get('message')); ?></p>
          <?php endif; ?>

        <div class="card">  
            <div class="card-header">
                    <h5 class="title">Edit Weightage</h5>
                </div>
            <div class="card-body">
          <form action="<?php echo e(route('weightage.updateweightage',$weightages->id)); ?>" method="post">
            <?php echo csrf_field(); ?>
            <?php echo method_field('patch'); ?>
            
            <div class="form-group">
              <label for="">Weightage</label>
              <input type="text" class="form-control" name="weightage_title" value="<?php echo e($weightages->weightage_title); ?>" placeholder="Enter weightage" required>
              <font style="color:red"> <?php echo e($errors->has('weightage_title') ?  $errors->first('weightage_title') : ''); ?> </font>
            </div>
             <div class="form-group">
              <label for="">Rating</label>
              <input type="number" class="form-control" name="rating" value="<?php echo e($weightages->rating); ?>" placeholder="Enter rating">
              <font style="color:red"> <?php echo e($errors->has('rating') ?  $errors->first('rating') : ''); ?> </font>
            </div>
            <div class="form-group" style="margin-top: 24px;">
              <input type="submit" class="btn btn-primary" value="Submit">
            </div>

          </form>
        </div>
        </div>
    </div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', ['pageSlug' => 'weightage'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\sivaranjani\stimclex_old\resources\views/weightages/editweightage.blade.php ENDPATH**/ ?>