From a04c38636b90b99ffe4a569dd10e52882558c348 Mon Sep 17 00:00:00 2001 From: Neerholt Date: Wed, 5 Aug 2020 14:59:41 +0200 Subject: [PATCH] v0.5.2 - Made the new menuplan, so you now can use CKeditor. --- .../app/Http/Controllers/UserController.php | 2 +- .../views/admin/guides/create.blade.php | 15 ++++-------- .../views/admin/menuplans/create.blade.php | 24 ++++++++++++------- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/skolehjem/app/Http/Controllers/UserController.php b/skolehjem/app/Http/Controllers/UserController.php index 46991b4..13b09b8 100644 --- a/skolehjem/app/Http/Controllers/UserController.php +++ b/skolehjem/app/Http/Controllers/UserController.php @@ -381,7 +381,7 @@ class UserController extends Controller foreach ($roles as $role) { if($user->hasRole($role)) { array_push($users, $user); - break 1; + break 2; } } } diff --git a/skolehjem/resources/views/admin/guides/create.blade.php b/skolehjem/resources/views/admin/guides/create.blade.php index 21431ba..34b682d 100644 --- a/skolehjem/resources/views/admin/guides/create.blade.php +++ b/skolehjem/resources/views/admin/guides/create.blade.php @@ -29,20 +29,13 @@ @endsection diff --git a/skolehjem/resources/views/admin/menuplans/create.blade.php b/skolehjem/resources/views/admin/menuplans/create.blade.php index 254f76e..e3d3718 100644 --- a/skolehjem/resources/views/admin/menuplans/create.blade.php +++ b/skolehjem/resources/views/admin/menuplans/create.blade.php @@ -10,20 +10,26 @@ @endsection @section("content") +

Opret Menuplan:

@csrf - - - - - - - - - +
+ + + + @endsection