@extends('layouts.master') @section('title', 'Student List') @push('css') @endpush @section('content')
@csrf

Change Details

@error('name') {{ $message }} @enderror
@error('phone') {{ $message }} @enderror
@error('email') {{ $message }} @enderror

Change Password

@error('password') {{ $message }} @enderror
@error('password_confirmation') {{ $message }} @enderror
@csrf @php if (auth()->user()->avatar) { $avatar = asset('storage/' . auth()->user()->avatar); } else { $avatar = asset('assets/static/images/faces/2.jpg'); } @endphp
{{ auth()->user()->name }}

{{ auth()->user()->name }}

@if (auth()->user()->user_type == 'admin') Admin User @elseif (auth()->user()->user_type == 'teacher') #{{ auth()->user()->teacher->teacher_id }} @elseif (auth()->user()->user_type == 'student') #{{ auth()->user()->student->reg_id }} @else {{ auth()->user()->phone }} @endif

@endsection @push('js') @endpush