@extends('layouts.app')
@section('title','Edit Department')
@section('content')<div class="page-header"><div class="page-header-title"><h5>Edit Department</h5></div></div><div class="main-content"><div class="card border mx-auto" style="max-width:950px"><div class="card-header p-4"><h5 class="fw-bold mb-1">Update {{ $department->name }}</h5><small class="text-muted">Maintain Department ownership and availability.</small></div><form method="POST" action="{{ route('departments.update',$department) }}">@csrf @method('PUT')<div class="card-body p-4">@include('departments.partials.form')</div><div class="card-footer d-flex justify-content-end gap-2"><a href="{{ route('departments.index') }}" class="btn btn-light">Cancel</a><button class="btn btn-primary"><i class="feather-save me-1"></i>Update Department</button></div></form></div></div>@endsection
