]> BookStack Code Mirror - bookstack/blobdiff - resources/views/components/entity-selector.blade.php
1. Fixed translation for Copy and Reply
[bookstack] / resources / views / components / entity-selector.blade.php
index 03e2066ed194b9f6ad597a53d497f8b0bb88745e..89c574c28c0f3090868cc43ef1f3c6794f7b6d4c 100644 (file)
@@ -1,5 +1,5 @@
 <div class="form-group">
-    <div entity-selector class="entity-selector {{$selectorSize or ''}}" entity-types="{{ $entityTypes or 'book,chapter,page' }}">
+    <div entity-selector class="entity-selector {{$selectorSize or ''}}" entity-types="{{ $entityTypes or 'book,chapter,page' }}" entity-permission="{{ $entityPermission or 'view' }}">
         <input type="hidden" entity-selector-input name="{{$name}}" value="">
         <input type="text" placeholder="{{ trans('common.search') }}" entity-selector-search>
         <div class="text-center loading" entity-selector-loading>@include('partials.loading-icon')</div>