@extends('layouts.app') @section('page-title', isset($employee) ? 'Edit Employee' : 'Add Employee') @section('content')
Employee Details
@csrf @if(isset($employee)) @method('PUT') @endif @if(isset($employee) && $employee->photo)
@endif
@error('rg_id')
{{ $message }}
@enderror
@error('name')
{{ $message }}
@enderror
Max 2MB. JPG/PNG/GIF
Cancel
@endsection