diff options
author | Mateja <mail@matejamaric.com> | 2021-03-14 18:22:56 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-03-14 18:22:56 +0100 |
commit | cc323d95fa3cad2d3ba437c37c4f29f8dff854eb (patch) | |
tree | 52b51c03b39552cd1708aba74dd3d546b51029cb /resources/views/pages/reserve.blade.php | |
parent | 95d863c82ad630d46b2195ef04d62d45b18e68a7 (diff) | |
download | yota-laravel-cc323d95fa3cad2d3ba437c37c4f29f8dff854eb.tar.gz yota-laravel-cc323d95fa3cad2d3ba437c37c4f29f8dff854eb.zip |
Finished call-sign-description component.
Diffstat (limited to 'resources/views/pages/reserve.blade.php')
-rw-r--r-- | resources/views/pages/reserve.blade.php | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/resources/views/pages/reserve.blade.php b/resources/views/pages/reserve.blade.php index 823e8b9..d0253df 100644 --- a/resources/views/pages/reserve.blade.php +++ b/resources/views/pages/reserve.blade.php @@ -17,24 +17,30 @@ @endif <form action="{{ route('reserve') }}" method="POST"> @csrf - <!-- SPECIAL CALL --> -<div class="form-group"> - <label for="special-call">Special Callsign:</label> - <select class="form-control @error('scall') is-invalid @enderror" id="special-call" name="scall" required> - @foreach ($signs as $sign) - <option value="{{ $sign->sign }}" {{ old('scall') == $sign->sign ? 'selected' : '' }}>{{ $sign->sign }}</option> - @endforeach - </select> + + <call-sign-description></call-sign-description> @error('scall') <div class="alert alert-danger mt-2">{{ $message }}</div> @enderror -</div> -<div class="card mb-3"> - <div class="card-body pb-1"> - <div class="card-text" id="call-desc"></div> - </div> -</div> + {{--<!-- SPECIAL CALL -->--}} +{{--<div class="form-group">--}} + {{--<label for="special-call">Special Callsign:</label>--}} + {{--<select class="form-control @error('scall') is-invalid @enderror" id="special-call" name="scall" required>--}} + {{--@foreach ($signs as $sign)--}} + {{--<option value="{{ $sign->sign }}" {{ old('scall') == $sign->sign ? 'selected' : '' }}>{{ $sign->sign }}</option>--}} + {{--@endforeach--}} + {{--</select> --}} + {{--@error('scall')--}} + {{--<div class="alert alert-danger mt-2">{{ $message }}</div>--}} + {{--@enderror--}} +{{--</div>--}} + +{{--<div class="card mb-3">--}} + {{--<div class="card-body pb-1">--}} + {{--<div class="card-text" id="call-desc"></div>--}} + {{--</div>--}} +{{--</div>--}} @error('time') <div class="alert alert-danger mt-2">{{ $message }}</div> @@ -163,5 +169,5 @@ format: 'H:i' }); </script> - <script src="{{ asset('js/reserve.js') }}"></script> + {{--<script src="{{ asset('js/reserve.js') }}"></script>--}} @endsection |