X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a3fcc98d6ec2597a212b569898437d3d2d9421bd..refs/pull/5312/head:/resources/views/entities/view-toggle.blade.php diff --git a/resources/views/entities/view-toggle.blade.php b/resources/views/entities/view-toggle.blade.php index e376b878d..9d64e09c3 100644 --- a/resources/views/entities/view-toggle.blade.php +++ b/resources/views/entities/view-toggle.blade.php @@ -1,16 +1,17 @@
- {!! csrf_field() !!} - {!! method_field('PATCH') !!} + {{ csrf_field() }} + {{ method_field('patch') }} + @if ($view === 'list') - @else - @endif