| Current Path : /var/www/html/bookstack/storage/framework/views/ |
| Current File : /var/www/html/bookstack/storage/framework/views/e27159a5f39a7f887a2396fc09d356dea3804ede.php |
<form action="<?php echo e(url('/settings/users/toggle-dark-mode')); ?>" method="post">
<?php echo e(csrf_field()); ?>
<?php echo e(method_field('patch')); ?>
<?php if(setting()->getForCurrentUser('dark-mode-enabled')): ?>
<button class="<?php echo e($classes ?? ''); ?>"><span><?php echo icon('light-mode'); ?></span><span><?php echo e(trans('common.light_mode')); ?></span></button>
<?php else: ?>
<button class="<?php echo e($classes ?? ''); ?>"><span><?php echo icon('dark-mode'); ?></span><span><?php echo e(trans('common.dark_mode')); ?></span></button>
<?php endif; ?>
</form><?php /**PATH /var/www/html/bookstack/resources/views/common/dark-mode-toggle.blade.php ENDPATH**/ ?>