<?php $__env->startSection('content'); ?>

<div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>General Settings</h2>
                    <ol class="breadcrumb">
                        <li>
                            <a href="<?php echo e(url('')); ?>">Home</a>
                        </li>
                        
                        <li class="active">
                            <strong>General Settings</strong>
                        </li>
                    </ol>
                </div>
                <div class="col-lg-2">

                </div>
            </div>
			
			<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
                <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>General Settings</h5>
                            <div class="ibox-tools">
                                <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                
                                
                            </div>
                        </div>
                        <div class="ibox-content">
						
			

<form action="<?php echo e(url('settings/general')); ?>" class="form-horizontal" method="POST" enctype='multipart/form-data'>
                        <?php echo e(csrf_field()); ?>

 <?php $__empty_1 = true; $__currentLoopData = $settings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $setting): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>

 <?php if($setting->key != "stripe"): ?> 
 <div class="form-group">
 <label class="col-sm-2 control-label"><?php echo e($setting->label); ?></label>
                                    <div class="col-sm-10">  <input type="text" class="form-control" id="<?php echo e($setting->key); ?>" name="<?php echo e($setting->key); ?>" value="<?php echo e(old($setting->key, $setting->value)); ?>"></div>
                                </div>
                                <div class="hr-line-dashed"></div>
								
					
           
          <?php endif; ?>
		  
		  <?php if($setting->key == "stripe"): ?> 
			 <?php  $stripe_label = $setting->label;  ?>
			 <?php  $stripe_value = $setting->value;  ?>
		  <?php endif; ?>
		  
		   <?php if($setting->key == "frontend"): ?> 
			 <?php  $frontend_label = $setting->label;  ?>
			 <?php  $frontend_value = $setting->value;  ?>
		  <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
            <?php endif; ?>
				
			 <div class="form-group">
							 <label class="col-sm-2 control-label"><?php echo e($stripe_label); ?></label>
							 <div class="form-group col-sm-10">
									<select name="stripe" class="form-control"> 
										<option <?php if($stripe_value == "yes") echo "selected";  ?> value="yes"> Yes </option>
										<option <?php if($stripe_value == "no") echo "selected";  ?>  value="no"> No </option>
									</select>
                                    
                                </div>
                                </div>
                                <div class="hr-line-dashed"></div>
								
								<div class="form-group">
							 <label class="col-sm-2 control-label"><?php echo e($frontend_label); ?></label>
							 <div class="form-group col-sm-10">
									<select name="frontend" class="form-control"> 
										<option <?php if($frontend_value == "yes") echo "selected";  ?> value="yes"> Yes </option>
										<option <?php if($frontend_value == "no") echo "selected";  ?>  value="no"> No </option>
									</select>
                                    
                                </div>
                                </div>
                                <div class="hr-line-dashed"></div>
								
								

								<div class="form-group">
                                    <div class="col-sm-4 col-sm-offset-2">
                                        
										 <a class="btn btn-white" href="<?php echo e(url('settings/general')); ?>">Cancel</a>
                                        <button class="btn btn-primary" type="submit">Save changes</button>
                                    </div>
                                </div>
         </form>
                        </div>
                    </div>
                </div>
            </div>
			</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>