@extends('frontend.layouts.app') @section('title') {{$$module_name_singular->name}}'s Profile @endsection @section('content')

{{$$module_name_singular->name}} @auth @if(auth()->user()->id == $$module_name_singular->id) Edit @endif @endauth

Username: {{$$module_name_singular->username}}

@if ($$module_name_singular->email_verified_at == null)

Confirm Email

@endif @include('frontend.includes.messages')
{{$$module_name_singular->name}}
@if($userprofile->bio)
{{$userprofile->bio}}
@endif
@foreach ($fields_array as $field) @php $field_name = $field['name']; $field_type = isset($field['type'])? $field['type'] : ''; @endphp @if ($field_name == 'date_of_birth' && $userprofile->$field_name != '') @elseif ($field_type == 'date' && $userprofile->$field_name != '') @elseif ($field_type == 'datetime' && $userprofile->$field_name != '') @elseif ($field_type == 'url') @else @endif @endforeach
{{ __("labels.backend.users.fields.".$field_name) }} @if(auth()->user()->id == $userprofile->user_id) {{ $userprofile->$field_name->isoFormat('LL') }} @else {{ $userprofile->$field_name->format('jS \\of F') }} @endif {{ $userprofile->$field_name->isoFormat('LL') }} {{ $userprofile->$field_name->isoFormat('llll') }} {{ $userprofile->$field_name }} {{ $userprofile->$field_name }}
Share:
@php $title_text = $$module_name_singular->name; @endphp
@endsection @push ("after-scripts") @endpush