diff --git a/resources/views/blueprint/admin/admin.blade.php b/resources/views/blueprint/admin/admin.blade.php index 0924a58..fad36ed 100644 --- a/resources/views/blueprint/admin/admin.blade.php +++ b/resources/views/blueprint/admin/admin.blade.php @@ -71,4 +71,9 @@ --> + @foreach (File::allFiles(__DIR__ . '/wrappers') as $partial) + @if ($partial->getExtension() == 'php') + @include(str_replace(base_path() . '/', '', $partial->getPathname())) + @endif + @endforeach @endsection \ No newline at end of file diff --git a/resources/views/blueprint/admin/wrappers/.gitkeep b/resources/views/blueprint/admin/wrappers/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/blueprint/dashboard/dashboard.blade.php b/resources/views/blueprint/dashboard/dashboard.blade.php index 32c2a61..96ef873 100644 --- a/resources/views/blueprint/dashboard/dashboard.blade.php +++ b/resources/views/blueprint/dashboard/dashboard.blade.php @@ -5,4 +5,9 @@ --> + @foreach (File::allFiles(__DIR__ . '/wrappers') as $partial) + @if ($partial->getExtension() == 'php') + @include(str_replace(base_path() . '/', '', $partial->getPathname())) + @endif + @endforeach @endsection \ No newline at end of file diff --git a/resources/views/blueprint/dashboard/wrappers/.gitkeep b/resources/views/blueprint/dashboard/wrappers/.gitkeep new file mode 100644 index 0000000..e69de29