feat: add user dob to profile

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2022-10-24 00:43:25 +01:00
parent 59351ef7bc
commit f5dc235a72
2 changed files with 11 additions and 0 deletions

View File

@@ -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>