@extends('admin.layouts.app')

@section('title', 'Edit Partner Institution')

@section('content')
<div class="max-w-3xl mx-auto">
    <div class="mb-6">
        <h2 class="text-xl font-bold text-gray-800">Edit Partner Institution</h2>
        <p class="text-sm text-gray-500 mt-0.5">Updates here will reflect everywhere this shared institution section is used.</p>
    </div>

    <form method="POST" action="{{ route('admin.partner-institutions.update', $partnerInstitution) }}" enctype="multipart/form-data" class="bg-white rounded-xl border border-gray-200 p-6 space-y-6">
        @csrf
        @method('PUT')
        @include('admin.partner-institutions._form')

        <div class="flex justify-end gap-3">
            <a href="{{ route('admin.partner-institutions.index') }}" class="px-4 py-2 text-sm font-semibold rounded-lg border border-gray-300 text-gray-700 hover:bg-gray-50">Cancel</a>
            <button type="submit" class="px-5 py-2.5 text-sm font-semibold rounded-lg bg-blue-600 text-white hover:bg-blue-700">Update Institution</button>
        </div>
    </form>
</div>
@endsection
