@extends('layouts.admin') @section('content')
{{ trans('global.my_profile') }}
@csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
{{ trans('global.change_password') }}
@csrf
@if($errors->has('password')) {{ $errors->first('password') }} @endif
@if(auth()->user()->roles->contains('title', 'Admin') || auth()->user()->roles->contains('title', 'admin'))
{{ trans('global.delete_account') }}
@csrf
@endif @endsection