Skip to content

Commit

Permalink
Fixed exam booking.show btn
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Jun 25, 2023
1 parent 76d9d2a commit 88e6989
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions resources/views/booking/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@
@endcan

@can('bookExamTag', \App\Models\Booking::class)
<input id="exam" type="radio" name="tag" value=2 {{ $booking->exam == 1 ? 'checked' : '' }}>
<label class="form-label" for="exam">Exam</label>
&nbsp;&nbsp;&nbsp;
<input type="radio" class="btn-check" id="exam" name="tag" value="2" {{ $booking->exam == 1 ? 'checked' : '' }}>
<label class="btn btn-outline-danger" for="exam">
<i class="fa-solid fa-graduation-cap"></i>
Exam
</label>
@endcan

@can('bookEventTag', \App\Models\Booking::class)
Expand Down

0 comments on commit 88e6989

Please sign in to comment.