diff --git a/resources/views/echoarea/addedit.blade.php b/resources/views/echoarea/addedit.blade.php
index 2832846..8fed911 100644
--- a/resources/views/echoarea/addedit.blade.php
+++ b/resources/views/echoarea/addedit.blade.php
@@ -52,6 +52,7 @@
+ @can('admin',$o)
+ @endcan
@@ -106,6 +108,7 @@
+ @can('admin',$o)
@@ -131,8 +134,10 @@
+ @endcan
+ @can('admin',$o)
@@ -143,11 +148,10 @@
Cancel
- @can('admin',$o)
-
- @endcan
+
+ @endcan
diff --git a/resources/views/filearea/addedit.blade.php b/resources/views/filearea/addedit.blade.php
index 7318e3d..301ed47 100644
--- a/resources/views/filearea/addedit.blade.php
+++ b/resources/views/filearea/addedit.blade.php
@@ -1,4 +1,5 @@
+@use(App\Models\Domain)
@extends('layouts.app')
@section('htmlheader_title')
@@ -21,7 +22,7 @@
@@ -51,6 +52,7 @@
+ @can('admin',$o)
+ @endcan
@@ -92,6 +95,7 @@
+ @can('admin',$o)
@@ -130,8 +134,10 @@
+ @endcan
+ @can('admin',$o)
@@ -142,11 +148,10 @@
Cancel
- @can('admin',$o)
-
- @endcan
+
+ @endcan