Error in exception handler: Undefined variable: type (View: /home/cts/laravel/app/views/public/partials/sidebar-form.blade.php) (View: /home/cts/laravel/app/views/public/partials/sidebar-form.blade.php) in /home/cts/laravel/app/storage/views/17b0abe5b5eef8541315ddb863e226c0:39