Browse Source

Show age on user profile only if age is exists

pull/27/head
Nafies Luthfi 7 years ago
parent
commit
4befaaa5b9
  1. 6
      resources/views/users/partials/profile.blade.php

6
resources/views/users/partials/profile.blade.php

@ -33,7 +33,11 @@
@endif
<tr>
<th>{{ trans('user.age') }}</th>
<td>{!! $user->age_string !!}</td>
<td>
@if ($user->age)
{!! $user->age_string !!}
@endif
</td>
</tr>
@if ($user->email)
<tr>

Loading…
Cancel
Save