X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/2ebbc6b658e80c1a291de9d699627c82ed07577f..refs/pull/1755/head:/resources/views/pages/editor-toolbox.blade.php diff --git a/resources/views/pages/editor-toolbox.blade.php b/resources/views/pages/editor-toolbox.blade.php index bbf6edee7..6ea651820 100644 --- a/resources/views/pages/editor-toolbox.blade.php +++ b/resources/views/pages/editor-toolbox.blade.php @@ -1,12 +1,12 @@
- @icon('caret-left-circle') - @icon('tag') + + @if(userCan('attachment-create-all')) - @icon('attach') + @endif - @icon('template') +
@@ -24,10 +24,9 @@

{{ trans('entities.templates') }}

- @include('pages.templates-manager', ['page' => $page]) + @include('pages.template-manager', ['page' => $page, 'templates' => $templates])
-