@extends("layouts.dashboard.app") @section("page-title") Update Admin @endSection @section("page-nav-title")
Admins
create new admin
Admins
edit
{{$user->username}}
@endsection @section("content")
Edit Admin
id)}}" enctype="multipart/form-data"> @csrf @method("put")
Full name
@error("full_name")
{{$message}}
@enderror
Username
@error("username")
{{$message}}
@enderror
Email
@error("email")
{{$message}}
@enderror
Profile Photo
Upload Photo
@error("profile_photo")
{{$message}}
@enderror
Password
Confirm Password
@error("password")
{{$message}}
@enderror
Roles
None
@foreach($roles as $role)
id, $user, "role_id")}} >{{$role->name}}
@endforeach
@error("role")
{{$message}}
@enderror
@endsection @section("scripts") @endsection