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

{{$$module_name_singular->name}}

{{$$module_name_singular->address}}

@if($userprofile->url_website) {{$userprofile->url_website}} @else {{route('frontend.users.profile', encode_id($$module_name_singular->id))}} @endif
@if($userprofile->url_facebook) @endif @if($userprofile->url_twitter) @endif @if($userprofile->url_instagram) @endif @if($userprofile->url_linkedin) @endif
@auth @if (auth()->user()->id == $$module_name_singular->id) @endif @endauth

Profile

{{ label_case($field_name = 'first_name'); }}: {{ $$module_name_singular->$field_name }}
{{ label_case($field_name = 'last_name'); }}: {{ $$module_name_singular->$field_name }}
@auth @if (auth()->user()->id == $$module_name_singular->id)
{{ label_case($field_name = 'email'); }}: {{ $$module_name_singular->$field_name }}
{{ label_case($field_name = 'mobile'); }}: {{ $$module_name_singular->$field_name }}
{{ label_case($field_name = 'date_of_birth'); }}: {{ $$module_name_singular->$field_name->toFormattedDateString(); }}
{{ label_case($field_name = 'gender'); }}: {{ $$module_name_singular->$field_name }}
@endif @endauth
{{ label_case($field_name = 'bio'); }}
{{ $userprofile->$field_name }}
@endsection @push ("after-scripts") @endpush