1 <div component="editor-toolbox" class="floating-toolbox">
3 <div class="tabs primary-background-light">
4 <button type="button" refs="editor-toolbox@toggle" aria-expanded="false" class="toolbox-toggle">@icon('caret-left-circle')</button>
5 <button type="button" refs="editor-toolbox@tab-button" data-tab="tags" title="{{ trans('entities.page_tags') }}" class="active">@icon('tag')</button>
6 @if(userCan('attachment-create-all'))
7 <button type="button" refs="editor-toolbox@tab-button" data-tab="files" title="{{ trans('entities.attachments') }}">@icon('attach')</button>
9 <button type="button" refs="editor-toolbox@tab-button" data-tab="templates" title="{{ trans('entities.templates') }}">@icon('template')</button>
10 @if($comments->enabled())
11 <button type="button" refs="editor-toolbox@tab-button" data-tab="comments" title="{{ trans('entities.comments') }}">@icon('comment')</button>
15 <div refs="editor-toolbox@tab-content" data-tab-content="tags" class="toolbox-tab-content">
16 <h4>{{ trans('entities.page_tags') }}</h4>
18 @include('entities.tag-manager', ['entity' => $page])
22 @if(userCan('attachment-create-all'))
23 @include('attachments.manager', ['page' => $page])
26 <div refs="editor-toolbox@tab-content" data-tab-content="templates" class="toolbox-tab-content">
27 <h4>{{ trans('entities.templates') }}</h4>
30 @include('pages.parts.template-manager', ['page' => $page, 'templates' => $templates])
34 @if($comments->enabled())
35 @include('pages.parts.toolbox-comments')