@extends('layout.app') @section('title', 'Account Details') @section('content')
@include('Include.aside_account')

Account Details

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif

Basic Information

@php $user = \App\Models\User::where('id', Auth::user()->id)->first(); if($user->isTeacher()){ $teacher = \App\Models\Teacher::where('user_id', Auth::user()->id)->first(); } if($user->isStudent()){ $student = \App\Models\Student::where('user_id', Auth::user()->id)->first(); } @endphp
@csrf @method('PUT')
Please enter your full name!
Please provide a valid email address!
{{--
--}} @if($user->isStudent())
@endif @if($user->isTeacher())
@endif
{{--

Forget Password

--}}
{{-- Change Password --}}
@endsection