PATH:
home
/
rwabteecom
/
project_11
/
resources
/
views
/
admin
/
pages
/
profile
/
Editing: profile.blade.php
@extends("admin.layouts.app") @section("content") <form action="{{route('admin.profile.update')}}" method="post" enctype="multipart/form-data"> @csrf @method("PUT") <x-card-content> <x-card-header :title="__('Basic Information')" /> <x-card-body> <div class="col-md-12 text-center"> <x-avatar-image :image="Auth::user()->profile_image" /> </div> <x-input-field name="name" required :model="Auth::user()" :title="__('Name')" /> <x-input-field name="email" required :model="Auth::user()" :title="__('Email')" /> <x-input-field name="username" required :model="Auth::user()" :title="__('Username')" /> </x-card-body> <x-card-footer> <x-loading-btn :title="__('Update Basic Information')" /> </x-card-footer> </x-card-content> </form> <form action="{{route('admin.profile.password')}}" method="post" class="mt-5"> @csrf @method("PUT") <x-card-content> <x-card-header :title="__('Update Password')" /> <x-card-body> <x-input-field name="current_password" required type="password" :title="__('Current Password')" /> <x-input-field name="password" required type="password" :title="__('New Password')" /> <x-input-field name="password_confirmation" required type="password" :title="__('New Password Confirmation')" /> </x-card-body> <x-card-footer> <x-loading-btn :title="__('Update Password')" /> </x-card-footer> </x-card-content> </form> @endsection
SAVE
CANCEL