Skip to content

Commit

Permalink
feat: add helper text for callsign and aircraft
Browse files Browse the repository at this point in the history
Fixes #945
  • Loading branch information
daveroverts committed Feb 25, 2025
1 parent dc86571 commit 2f8428b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions resources/views/booking/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
<strong>{{ $booking->formatted_actype }}</strong>
</x-forms.form-group>
@else
<x-forms.input name="callsign" :label="__('Callsign')" required maxlength="7" :value="old('callsign', $booking->callsign)" />
<x-forms.input name="acType" :label="__('Aircraft code')" required minlength="3" maxlength="4" :value="old('acType', $booking->acType)" />
<x-forms.input name="callsign" :label="__('Callsign')" required maxlength="7" :value="old('callsign', $booking->callsign)"
:help="__('Be sure to use valid ICAO codes. Ex: <strong>KLM</strong>1337, not KL1337')" />
<x-forms.input name="acType" :label="__('Aircraft code')" required minlength="3" maxlength="4" :value="old('acType', $booking->acType)"
:help="__('Be sure to use valid ICAO codes. Ex: B738, not 737')"/>
@endif

@if ($booking->event->uses_times)
Expand Down

0 comments on commit 2f8428b

Please sign in to comment.