<?php $__env->startSection('content'); ?>
<section class="section">
          <div class="section-header">
            <h1>New ticket</h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item"><a href="<?php echo e(url('/')); ?>">Dashboard</a></div>
              <div class="breadcrumb-item"><a href="<?php echo e(url('/ticket')); ?>">Ticket</a></div>
              <div class="breadcrumb-item">Add</div>
            </div>
          </div>

          <div class="section-body">
          
          	<div class="row">
          		<div class="col-12">
          			<div class="card">
		              <div class="card-header">
		                <h4><span>Tiket Baru</span></h4>
		              </div>
		             
		              <div class="card-body">
		              	<?php if(session('success')): ?>
	                        <div class="alert alert-primary" role="alert">
	                            <i class="fa fa-check-circle"></i> <?php echo session('success'); ?>

	                        </div>
		              	<?php elseif(session('danger')): ?>
	                        <div class="alert alert-danger" role="alert">
	                            <i class="fa fa-exclamation-circle"></i> <?php echo e(session('danger')); ?>

	                        </div>
	                    <?php endif; ?>
	                    <?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; ?>
						<div class="form">
							<form method="POST" action="">
								<?php echo csrf_field(); ?>
							  <div class="form-group row">
							    <label for="staticEmail" class="col-sm-2 col-form-label">Judul</label>
							    <div class="col-sm-10">
							      <input type="text" class="form-control" placeholder="Judul tiket" name="title">
							    </div>
							  </div>
							  <div class="form-group row">
							    <label for="inputPassword" class="col-sm-2 col-form-label">Konten</label>
							    <div class="col-sm-10">
							      <textarea class="summernote-simple" placeholder="Jelaskan masalahmu disini.." name="content"></textarea>
							    </div>
							  </div>
							  <div class="float-right">
							  	<button type="submit" class="btn btn-primary">Submit</button>
							  </div>
							</form>
						</div>		
	                     
		              </div>
		            
		            </div>
          		</div>
          		<div class="col-md-4">
          			
          		</div>
          	</div>
            
          </div>
        </section>




<?php $__env->stopSection(); ?>	
<?php echo $__env->make('layouts.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Berkc\OneDrive\Masaüstü\smm\zoopedia-master\resources\views\ticket\add.blade.php ENDPATH**/ ?>