aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-18 00:11:08 +0100
committerMateja <mail@matejamaric.com>2020-11-18 00:11:08 +0100
commit400e73d5407555a22ae6fe4c5282bafc7685833c (patch)
tree45d0b08a7466e23d2932b6b69aa1ba1d5eb0e290
parent88921ded1e1476ecec3325c3d73db252b53861d4 (diff)
downloadyota-laravel-400e73d5407555a22ae6fe4c5282bafc7685833c.tar.gz
yota-laravel-400e73d5407555a22ae6fe4c5282bafc7685833c.zip
Select old special sign...
-rw-r--r--resources/views/pages/reserve.blade.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php
index 0395f8a..f58d7d9 100644
--- a/resources/views/pages/reserve.blade.php
+++ b/resources/views/pages/reserve.blade.php
@@ -23,7 +23,7 @@
<select class="form-control @error('scall') is-invalid @enderror" id="special-call" name="scall" required>
{{--<option value="YT50SCWC">YT50SCWC</option>--}}
@foreach ($signs as $sign)
- <option value="{{ $sign->sign }}">{{ $sign->sign }}</option>
+ <option value="{{ $sign->sign }}" {{ old('scall') == $sign->sign ? 'selected' : '' }}>{{ $sign->sign }}</option>
@endforeach
</select>
@error('scall')