@extends('layouts.master') @section('title') Profile @endsection @section('css') @endsection @section('body') @endsection @section('content') @component('components.breadcrumb') @slot('page_title') Profile @endslot @slot('subtitle') Edit Profile @endslot @endcomponent
@php $roles = $user->roles->pluck('name'); @endphp
@if(Auth::user()->profile_image) @else @endif
{{ $user->name }}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(session('success'))
{{ session('success') }}
@endif @if(auth()->user()->hasRole('organization'))
@csrf @method('PUT') @php print_r($record->organization); @endphp
@if ($record->logo)
Logo
@endif

Contact Information

@if ($record->user->profile_image)
Logo
@endif

@else
@csrf @method('POST')
{{-- {{ old('profile_image', $settings['profile_image'] ?? '') }} --}}
@endif
@endsection @section('scripts') @endsection