
<?php $__env->startSection('content'); ?>
<!-- Content Header (Page header) -->
<div class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <h1 class="m-0 text-dark">Notice Settings</h1>
      </div><!-- /.col -->
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right">
          <li class="breadcrumb-item"><a href="<?php echo e(route('home')); ?>">Home</a></li>
          <li class="breadcrumb-item active">Notice Settings</li>
        </ol>
      </div><!-- /.col -->
    </div><!-- /.row -->
  </div><!-- /.container-fluid -->
</div>



          <div class="card">
            <div class="card-header">
              <h3 class="card-title"> Notice Settings</h3>
            
            </div>
            <!-- /.card-header -->
            <div class="card-body col-lg-12">
                    <div class="modal-content">
                      <div class="modal-header">
                        <h4 class="modal-title">Notice Settings</h4>
                        <?php if($notice->status == 1): ?>
                         	<a href="<?php echo e(route('deactive.notice',$notice->id)); ?>" style="float: right" class="btn btn-danger">Deactive</a>
                         <?php else: ?>
                           <a href="<?php echo e(route('active.notice',$notice->id)); ?>" style="float: right" class="btn btn-success">Active</a>
                         <?php endif; ?>
                      </div>

                      <div class="modal-body">
                         <form action="<?php echo e(route('update.notice',$notice->id)); ?>" method="Post">
                         	<?php echo csrf_field(); ?>
                           <div class="form-group">
                             <label for="exampleInputEmail1">Notice</label>
                             <textarea type="text" class="form-control " aria-describedby="emailHelp" name="notice" required="">  
                             	<?php echo e($notice->notice); ?>

                             </textarea>
                             <?php if($notice->status == 1): ?>
                                 <small class="text-success">Now Notice are Active</small>
                             <?php else: ?>
                                 <small class="text-danger">Now Notice are Deactive</small>
                              <?php endif; ?>
                           </div>
                        
                          
                    
                           <button type="submit" class="btn btn-success btn-block">Update</button>
                         </form>
                      </div>
                    </div>
            </div>
            <!-- /.card-body -->
          </div>


<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/elitedesignbd/news3.elitedesign.com.bd/resources/views/backend/setting/notice.blade.php ENDPATH**/ ?>