@extends('cms.layouts.main') @section('content') @include('cms.layouts.headers.partials', ['title' => 'Hello' . ' ' . Auth::guard('admin')->user()->first_name, 'description' => 'This is your profile page.'])

Edit Profile

@include('cms.components.alert', ['with' => 'status', 'class' => 'success'])
@csrf @method('put')
User information
{{-- First Name --}} @include('cms.components.inputs.text', ['label' => 'First Name', 'asterix' => true, 'name' => 'first_name', 'value' => old('first_name', Auth::guard('admin')->user()->first_name), 'maxlength' => 255]) {{-- Last Name --}} @include('cms.components.inputs.text', ['label' => 'Last Name', 'asterix' => true, 'name' => 'last_name', 'value' => old('last_name', Auth::guard('admin')->user()->last_name), 'maxlength' => 255]) {{-- Email --}} @include('cms.components.inputs.text', ['label' => 'Email', 'type' => 'email', 'asterix' => true, 'name' => 'email', 'value' => old('email', Auth::guard('admin')->user()->email), 'maxlength' => 255])
@csrf @method('put')
Password
{{-- Old Password --}} @include('cms.components.inputs.text', ['label' => 'Old Password', 'type' => 'password', 'asterix' => true, 'name' => 'old_password']) {{-- Password --}} @include('cms.components.inputs.text', ['label' => 'Password', 'type' => 'password', 'asterix' => true, 'name' => 'password']) {{-- Confirm Password --}} @include('cms.components.inputs.text', ['label' => 'Confirm Password', 'type' => 'password', 'asterix' => true, 'name' => 'confirm_password'])
@include('cms.layouts.footers.auth')
@endsection