feat: add age requirement field to vacancies, defaulting to 16

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2022-10-23 18:14:31 +01:00
parent 043fcd102a
commit 3d219ea429
8 changed files with 40 additions and 5 deletions

View File

@@ -88,6 +88,10 @@
<label for="vacancyCount">{{__('Free slots')}}</label>
<input rel="txtTooltip" title="{{__('The number of free slots decreases each time an applicant is approved for this vacancy.')}}" data-toggle="tooltip" data-placement="bottom" type="text" id="vacancyCount" name="vacancyCount" class="form-control">
<label for="requiredAge">{{__('Minimum age')}}</label>
<input rel="txtTooltip" title="{{__('How old must users be to apply for this vacancy?')}}" data-toggle="tooltip" data-placement="bottom" type="number" min="13" max="100" id="requiredAge" name="requiredAge" class="form-control">
<div class="form-check mt-4">
<input type="hidden" value="off" name="requireDiscordAccount">
<input class="form-check-input" type="checkbox" value="" id="requireDiscordAccount" name="requireDiscordAccount">