@extends('admin.layouts.app') @section('title', 'Edit User') @section('content')

Edit User: {{ $user->name }}

Back to Users
@if($errors->any())
@endif
@csrf @method('PUT')
User Information
Leave empty to keep current password
@if($user->photo)
{{ $user->name }}
@endif Leave empty to keep current photo. Recommended: 300x300px
Actions
Cancel
User Info
  • ID: {{ $user->id }}
  • Registered: {{ $user->created_at->format('d M, Y') }}
  • Last Updated: {{ $user->updated_at->format('d M, Y h:i A') }}
  • Role: @if($user->role == 'super_admin') Super Admin @elseif($user->role == 'admin') Admin @elseif($user->role == 'editor') Editor @else Reporter @endif
@if($user->role == 'reporter' || $user->role == 'editor')
Activity
  • Total News: 0
  • Published: 0
  • Pending: 0
@endif
@endsection