From 88921ded1e1476ecec3325c3d73db252b53861d4 Mon Sep 17 00:00:00 2001 From: Mateja Date: Tue, 17 Nov 2020 23:24:09 +0100 Subject: Drastically improved reservation form. --- resources/views/pages/reserve.blade.php | 133 +++++--------------------------- 1 file changed, 21 insertions(+), 112 deletions(-) (limited to 'resources/views/pages') diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php index 244d70a..0395f8a 100644 --- a/resources/views/pages/reserve.blade.php +++ b/resources/views/pages/reserve.blade.php @@ -12,7 +12,7 @@ @endif @if ($errors->any())
- All fields must be filled! + All fields must be filled and conditions satisfied!
@endif
@@ -74,127 +74,36 @@ @enderror - -
- I will be active on bands: -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
+ +
+ I will be active on bands: +@foreach ($freq_list as $freq) +
+ + +
+@endforeach @error('freqs')
{{ $message }}
@enderror -
- - -
- I will use modes: +
-
- - -
- -
- - -
+ +
+ I will use modes: -
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
+@foreach ($mode_list as $key => $value) +
+ + +
+@endforeach @error('modes')
{{ $message }}
@enderror -
+
-- cgit v1.2.3