<?php $__env->startSection('title', 'مدیر جدید'); ?>
<?php $__env->startSection('head'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/home.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/chosen.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/chosen.min.css')); ?>">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
    <script src="<?php echo e(asset('assets/js/ckeditor/ckeditor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/ckeditor/adapters/jquery.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/chosen.jquery.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/chosen.jquery.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/jss/new-manager.js')); ?>"></script>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('main'); ?>
    <div class="col-sm-5 col-sm-offset-5 content-home">
        <div class="form-group" >
            <form action="<?php echo e(url('/panel/new-manager')); ?>" method="post">
                <input type="text" name="name" class="form-control ltr text-right"  title="نام" placeholder="نام"><br>
                <input type="email" name="email" class="form-control ltr text-right"  title="ایمیل" placeholder="ایمیل"><br>
                <div class="input-group">
                    <input type="password" id="password" name="password" class="form-control ltr text-right" title="گذر واژه" placeholder="گذرواژه">
                <span class="input-group-addon hover">
                    <span class="glyphicon glyphicon-eye-open"></span>
                </span>
                </div>
                <input hidden name="_token" value="<?php echo e(csrf_token()); ?>">
                <select  id="privileges" name="privileges[]" data-placeholder="انتخاب دسترسی ها" class="chosen  chosen-rtl" multiple="true" style="width: 290px">
                    <?php $__empty_1 = true; $__currentLoopData = Auth::User()->Privilege()->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); $__empty_1 = false; ?>
                        <option style="direction: ltr"  value="<?php echo e($p->id); ?>"><?php echo e($p->name); ?></option>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); if ($__empty_1): ?>
                    <?php endif; ?>
                </select><br><br>
                <input type="submit" class="btn btn-wide btn-big btn-bg" value="ثبت مدیر جدید">
            </form>
            <div class="height-15"></div>
        </div>
    </div>

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