
<?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">Add Weightage</h5>
                </div>
            <div class="card-body">

          <form action="<?php echo e(route('addweightage')); ?>" method="post">
            <?php echo csrf_field(); ?>
            <div class="form-group">
              <label for="">Weightage</label>
              <input type="text" class="form-control" name="weightage_title" value="<?php echo e(old('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(old('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 F:\xampp\htdocs\stimclexupdate\resources\views/weightages/addweightage.blade.php ENDPATH**/ ?>