<?php $__env->startSection('content'); ?>
<?php if(session()->has('message')): ?>
<div class="row">
        <!-- left column -->
        <div class="col-md-2"></div>
<div class="col-md-4 alert alert-<?php echo e(session('type')); ?> alert-dismissible" style="font-size:18px;font-weight:bold;width:400px;margin-left:15px">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <?php echo session('message'); ?>

              </div>
              </div> 
<?php endif; ?>
<section class="content-header"  >
      <div class="col-md-5"><h3> Price Market Exchange Last updated at  </h3> </div>
      <div class="col-md-4"><h3> <?php echo e($price->created_at); ?> </h3> </div>
      <br/><br/>
      <img   src="<?php echo e(asset('dist/img/borsa.png')); ?>"  alt="User Image" style="width: 200px;height: 150px;position: absolute;top: -9px;z-index: 1;right: 150px;">

    </section>
    <br/>
    <br/>
    <br/>
<div class="row">
        <!-- left column -->
       
        <div class="col-md-12">
          <!-- general form elements -->
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">Edit Vehicle  </h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form   role="form" method="POST" action="<?php echo e(url('/price/edit')); ?>">
                        <?php echo e(csrf_field()); ?>

              <div class="box-body">
                
                
              <?php foreach( $wastes as $waste ): ?>   
                <div class="form-group col-md-4">
                  <label for="exampleInputPassword1"> <?php echo e($waste->name); ?></label>
                  <input type="number"  name="p<?php echo e($waste->id); ?>" value='<?php echo e($price["p$waste->id"]); ?>' class="form-control"  placeholder="price   :  <?php echo e($waste->name); ?>" required>
                </div>
              <?php endforeach; ?>

              

              </div>
              <!-- /.box-body -->

              <div class="box-footer">
                <button type="submit" class="btn btn-success">Save</button>
              </div>
            </form>
          </div>    
</div>
         
      </div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>