Skip to content

Commit

Permalink
🚑 Fix checkin without events (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKrisKrisu authored Apr 4, 2022
1 parent c700bf7 commit 28abf4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/views/trip.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,12 @@ class="visually-hidden-focusable">{{ __('stationboard.check-toot') }}</span>
{{__('events.on-my-way-dropdown')}}
</label>
<select class="form-control" id="event-dropdown" name="event">
<option value="0" selected>{{ __('events.no-event-dropdown') }}</option>
<option value="" selected>{{ __('events.no-event-dropdown') }}</option>
@foreach($events as $event)
<option value="{{ $event->id }}">{{ $event->name }}</option>
@endforeach
</select>
</div>
@else
<input type="hidden" name="event" value="0"/>
@endif

<input type="hidden" id="input-tripID" name="tripID" value=""/>
Expand Down

0 comments on commit 28abf4b

Please sign in to comment.