Hide from UI if not admin

This commit is contained in:
Dane Everitt 2017-08-30 21:12:35 -05:00
parent e045ef443a
commit cb62e6a96d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -110,6 +110,7 @@
@endif
@endforeach
</div>
@if(Auth::user()->root_admin)
<div class="row">
@foreach($permissions['admin'] as $block => $perms)
<div class="col-lg-4 col-sm-6">
@ -140,5 +141,6 @@
@endif
@endforeach
</div>
@endif
</form>
@endsection