@extends('dashboards.admins.layouts.admin-dash-layout') @section('title', 'Edit User') @section('content') Edit User @csrf @method('PUT') Employee ID Name Phone Email NRC Number Gender gender == 'male') selected @endif>Male gender == 'female') selected @endif>Female Birthday Address {{ $employee->address }} Department @foreach ($departments as $department) department_id == $department->id) selected @endif>{{ $department->title }} @endforeach Role (or) Designation @foreach ($roles as $role) id, $old_roles)) selected @endif>{{ $role->name }} @endforeach Date of Join Is Present? is_present == 1) selected @endif>YES is_present == 0) selected @endif>NO Profile Image @if ($employee->profile_img) @endif Password Comfirm @endsection @section('scripts') {!! JsValidator::formRequest('App\Http\Requests\UpdateEmployee', '#edit-form') !!} @endsection