From 16eb120253efa86e7c5fa548e03de321a5b54a1b Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 31 Oct 2020 14:10:53 +0100 Subject: Little bit of sanitizing... --- resources/views/pages/reserve.blade.php | 22 ++++++++++++++-------- resources/views/pages/services.blade.php | 13 ------------- 2 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 resources/views/pages/services.blade.php (limited to 'resources/views') diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php index fad6edc..fcb8fd4 100644 --- a/resources/views/pages/reserve.blade.php +++ b/resources/views/pages/reserve.blade.php @@ -10,6 +10,11 @@ {{ session('status') }} @endif + @if ($errors->any()) +
+ All fields must be filled! +
+ @endif
@csrf @@ -26,7 +31,7 @@
- + @error('sdate')
{{ $message }}
@enderror @@ -34,7 +39,7 @@
- + @error('stime')
{{ $message }}
@enderror @@ -43,7 +48,7 @@
- + @error('edate')
{{ $message }}
@enderror @@ -51,7 +56,7 @@
- + @error('etime')
{{ $message }}
@enderror @@ -134,6 +139,7 @@
{{ $message }}
@enderror +
I will use modes: @@ -181,7 +187,7 @@
- + @error('ocall')
{{ $message }}
@enderror @@ -190,7 +196,7 @@
- + @error('oname')
{{ $message }}
@enderror @@ -199,7 +205,7 @@
- + @error('email')
{{ $message }}
@enderror @@ -208,7 +214,7 @@
- + @error('phone')
{{ $message }}
@enderror diff --git a/resources/views/pages/services.blade.php b/resources/views/pages/services.blade.php deleted file mode 100644 index 3654510..0000000 --- a/resources/views/pages/services.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@extends('layouts.app') - -@section('content') -

{{ $title ?? 'Index'}}

-

Something...

- @if(count($services) > 0) -
    - @foreach($services as $service) -
  • {{$service}}
  • - @endforeach -
- @endif -@endsection -- cgit v1.2.3