@extends('layouts.admin') @section('title', $user->name) @section('page-title', $user->name) @section('page-subtitle', $user->email) @section('content')
{{ $user->email }}
@if($user->is_active) Active @else Inactive @endif{{ $activity->status ? 'Successful login' : 'Failed login attempt' }} @if($activity->ip_address) from {{ $activity->ip_address }} @endif
{{ $activity->login_at?->format('M d, Y H:i') ?? 'N/A' }}
No login activity recorded.
@endif