@extends('admin.layouts.main') @section('title', 'Profile') @section('menu', 'Profile') @push('css') @endpush @section('breadcrumb')
@endsection @section('content')

Update Profile

@csrf

Allowed file types: png, jpg, jpeg.
@error('foto')
{{ $message }}
@else
Foto wajib diisi
@enderror
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('birth_date')) {{ $errors->first('birth_date') }} @endif
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone_number')) {{ $errors->first('phone_number') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif

Update Password

@csrf
@if ($errors->has('old_password')) {{ $errors->first('old_password') }} @endif @if (session()->has('error_old_password')) {{ session()->get('error_old_password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif @if (session()->has('error_password')) {{ session()->get('error_password') }} @endif
@if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif @if (session()->has('error_password_confirmation')) {{ session()->get('error_password_confirmation') }} @endif
@endsection @push('js') @if($message = Session::get('tab')) @endif @endpush