X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/193d7fb3fe71a76a43ebc1ccdb617b4b627d1e09..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 9ff1b4927..9d64e09c3 100644 --- a/resources/views/entities/view-toggle.blade.php +++ b/resources/views/entities/view-toggle.blade.php @@ -1,16 +1,17 @@
-
id ."/switch-${type}-view") }}" method="POST" class="inline"> - {!! csrf_field() !!} - {!! method_field('PATCH') !!} - + + {{ csrf_field() }} + {{ method_field('patch') }} + + @if ($view === 'list') - @else - @endif