@extends('Layouts.main') @section('container')
@if (!empty(auth()->user()->photo)) @php $imgs = asset('storage/' . auth()->user()->photo); @endphp @else @php $imgs = asset('images/nopic.jpg'); @endphp @endif User profile picture
@if (auth()->user()->role == 'mahasiswa')

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

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

@else

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

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

@endif
@csrf

Ubah Password

@csrf
@error('password_lama')
{{ $message }}
@enderror
@error('password_baru')
{{ $message }}
@enderror
@error('confirm_password')
{{ $message }}
@enderror
@endsection