From b2d0cbb2643a6a008fc782b26e70886f403b331b Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Wed, 20 Dec 2023 13:44:47 -0800 Subject: [PATCH] Display validation error for report name --- resources/views/reports/custom.blade.php | 28 ++++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php index 9b569f5ba..8e4967218 100644 --- a/resources/views/reports/custom.blade.php +++ b/resources/views/reports/custom.blade.php @@ -420,22 +420,11 @@
@if (! request()->routeIs('report-templates.edit')) -
-
- @csrf - - {{--this means that the name of a loaded report is in the input box. could lead to confusion with update--}} - -
-
-
+
+ {{--this means that the name of a loaded report is in the input box. could lead to confusion with update--}} + + + {!! $errors->first('name', '') !!} +
+ + +
@endif