feat: add user dob to profile
Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
parent
59351ef7bc
commit
f5dc235a72
@ -46,6 +46,10 @@
|
||||
<x-alert title="{{ __('Date of birth required to continue') }}" alert-type="warning" icon="fa fa-exclamation-triangle">
|
||||
{{ __('Because you signed up using Discord, your age was not registered in our system. In order to continue applying for this position, please add your date of birth below. Please note that we don\'t accept registrations from users under 13 years of age.') }}
|
||||
</x-alert>
|
||||
|
||||
<x-alert title="{{ __('Warning') }}" alert-type="danger" icon="fas fa-user-lock">
|
||||
{{ __('You can\'t change your date of birth after first setting it.') }}
|
||||
</x-alert>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -151,6 +151,13 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-3">
|
||||
|
||||
<label for="dob">{{__('Date of birth')}}</label>
|
||||
<input type="text" disabled name="dob" id="dob" class="form-control" value="{{ (is_null($profile->user->dob)) ? __('Not set yet') : __(':dob (:age yrs old)', ['dob' => $profile->user->dob, 'age' => \Carbon\Carbon::parse($profile->user->dob)->age]) }}">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group mt-3">
|
||||
|
||||
<label for="aboutMe">{{__('About me')}}</label>
|
||||
|
Loading…
x
Reference in New Issue
Block a user