<?php $__env->startSection('head'); ?>
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo asset('assets/css/datatables/tools/css/dataTables.tableTools.css'); ?>" />
<script type="text/javascript" src="<?php echo asset('assets/js/ng-form-plugin.js'); ?>"></script>
<script src="<?php echo e(asset('assets/js/angular.js')); ?>" ></script>
<script stype="text/javascript">
    var ngSettingsApp = angular.module('ngSettingsApp', [], function($interpolateProvider)
    {$interpolateProvider.startSymbol('<%'); $interpolateProvider.endSymbol('%>'); });
    ngSettingsApp.controller('ngSettingsAppcontroller', function($scope) {
    $scope.SettingsItem =[];
    $scope.SettingsItem = <?php echo $data['Settings']; ?>[0];
    $scope.$apply();
    });</script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3><?php echo app('translator')->get('general_settings.module_title'); ?></h3>
        </div>
        <div class="title_right">
            <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
                <div class="input-group">
                    
                </div>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2><?php echo app('translator')->get('general_settings.module_form_title'); ?></h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <form  ng-app="ngSettingsApp" ng-controller="ngSettingsAppcontroller" id="Settings-form" class="form-horizontal form-label-left" method="post" action='<?php echo route("GeneralSettingscreateorupdate"); ?>' autocomplete="off">
                        <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>" />
                        <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="registration"><?php echo app('translator')->get('general_settings.registration'); ?><span class="required">*</span>
                        </label>
                        <div class="col-md-6 col-sm-6 col-xs-12">
                            <input type="radio" name="registration"  <?php if(Config::get('sysconfig.registration')): ?> checked <?php endif; ?> value="true" > <span><?php echo app('translator')->get('general_settings.enable'); ?></span> 
                            <input type="radio" name="registration" <?php if(!Config::get('sysconfig.registration')): ?> checked <?php endif; ?> value="false" > <span><?php echo app('translator')->get('general_settings.disable'); ?></span> 
                        </div>
                        </div>
                        <div class="form-group"><label class="control-label col-md-3 col-sm-3 col-xs-12" for="crudbuilder"><?php echo app('translator')->get('general_settings.crud_builder'); ?><span class="required">*</span></label><div class="col-md-6 col-sm-6 col-xs-12"><input type="radio" name="crudbuilder"  <?php if(Config::get('sysconfig.crudbuilder')): ?> checked <?php endif; ?> value="true" > <span><?php echo app('translator')->get('general_settings.show'); ?></span> <input type="radio" name="crudbuilder" <?php if(!Config::get('sysconfig.crudbuilder')): ?> checked <?php endif; ?>   value="false" > <span><?php echo app('translator')->get('general_settings.hide'); ?></span> </div></div>
                        <div class="form-group"><label class="control-label col-md-3 col-sm-3 col-xs-12" for="filemanager"><?php echo app('translator')->get('general_settings.file_manager'); ?><span class="required">*</span></label><div class="col-md-6 col-sm-6 col-xs-12"><input type="radio" name="filemanager"  <?php if(Config::get('sysconfig.filemanager')): ?> checked <?php endif; ?> value="true" > <span><?php echo app('translator')->get('general_settings.show'); ?></span> <input type="radio" name="filemanager"   <?php if(!Config::get('sysconfig.filemanager')): ?> checked <?php endif; ?> value="false" > <span><?php echo app('translator')->get('general_settings.hide'); ?></span> </div></div>
                        <div class="form-group"><label class="control-label col-md-3 col-sm-3 col-xs-12" for="direction"><?php echo app('translator')->get('general_settings.direction'); ?><span class="required">*</span></label><div class="col-md-6 col-sm-6 col-xs-12"><input type="radio" name="direction"  value="ltr" <?php if(Config::get('sysconfig.direction')=='ltr'): ?> checked <?php endif; ?>> <span><?php echo app('translator')->get('general_settings.ltr'); ?></span> <input type="radio" name="direction"  value="rtl" <?php if(Config::get('sysconfig.direction')=='rtl'): ?> checked <?php endif; ?> > <span><?php echo app('translator')->get('general_settings.rtl'); ?></span> </div></div>
                        
                        <div class="form-group">                            
                            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="direction"><?php echo app('translator')->get('general_settings.language'); ?><span class="required">*</span></label>
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <select name="locale">
                                    <option <?php if(Config::get('sysconfig.language')=='ar'): ?> selected <?php endif; ?> value="ar"><?php echo app('translator')->get('general_settings.arabic'); ?></option>
                                    <option <?php if(Config::get('sysconfig.language')=='en'): ?> selected <?php endif; ?> value="en"><?php echo app('translator')->get('general_settings.english'); ?></option>
                                </select>
                            </div>
                        </div>
                        
                        <input ng-model='SettingsItem.id' type="text" id="id" name="id" style="display: none" />
                        <div class="ln_solid"></div>
                        <div class="form-group">
                            <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
                                <button type="reset" class="btn btn-primary cancel"><?php echo app('translator')->get('general_settings.cancel'); ?></button>
                                <button type="submit" class="btn btn-success"><?php echo app('translator')->get('general_settings.submit'); ?></button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

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

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/AppBuilderProduction/resources/views/generalsettings/Settings.blade.php ENDPATH**/ ?>