<?php $__env->startSection('content'); ?>
    <h1><?php echo e(trans('backend.manage_users')); ?></h1>
    <div id="backend_users">
        <?php if($canInsert): ?>
            <button type="button" data-toggle="tooltip" data-placement="right" class="btn btn-default command-add list-add-btn" title="<?php echo e(Lang::get('backend.new_user')); ?>">
                <span class="icon glyphicon glyphicon-plus"></span>
            </button>
        <?php endif; ?>
        <table id="grid" class="table table-condensed table-hover table-striped">
            <thead>
            <tr>
                <th data-column-id="id" data-type="numeric" data-identifier="true">ID</th>
                <th data-column-id="first_name" data-order="asc"><?php echo e(trans('form.first_name')); ?></th>
                <th data-column-id="last_name"><?php echo e(trans('form.last_name')); ?></th>
                <th data-column-id="email"><?php echo e(trans('form.email')); ?></th>
                <th data-column-id="role"><?php echo e(trans('backend.role')); ?></th>
                <th data-column-id="commands" data-formatter="commands" data-sortable="false"><?php echo e(trans('backend.actions')); ?></th>
            </tr>
            </thead>
        </table>
    </div>
    <script>
        $(function() {
            var manageUsersView = new Eae.View.BackendUsersList({
                el : $('#backend_users'),
                userId : <?php echo e($loggedUser->id); ?>,
                canInsert: <?php echo e($canInsert ? 'true' : 'false'); ?>

            });
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.main', [
    'scripts' => [
        path_asset('path.backoffice.js_path') . '/view/user/backend-users-list.js'
    ]
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/resources/views/admin/pages/backend_users/admin_users.blade.php ENDPATH**/ ?>