@extends('layouts.main_layout') @php $title = 'User - Profile'; $name = $email = $status = ''; if(!empty($user)){ $title='User - Profile'; $name = $user->name; $email = $user->email; } @endphp @section('title','RCSA - '.$title) @section('main-content') {{ session()->has('flash_message') ? session()->get('flash_message') : '' }} @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif {{$title}} @if(!empty($user)) @endif @csrf() Name Email Old Password (Note: Current logged-in password.) New Password New Password Confirmation @if($access==true) Cancel @elseif($access==false) Cancel @endif Update @endsection @section('additionaljs') @endsection