@extends('layouts.main') @php($isUpdate = $isUpdate ?? false) @section('title') {{ $isUpdate ? __('Update Plugin') : __('Install & Activate') }} @endsection @section('page-title')

@yield('title')

{{ $isUpdate ? __('Upload the newer plugin package and verify your purchase code to update it.') : __('Install the plugin and activate it to start using all available features.') }}

@endsection @section('content')
{{ $displayName ?? $slug ?? __('Plugin') }}
@if ($catalogItem['slug'] ?? $slug) {{ $catalogItem['slug'] ?? $slug }}@if ($isUpdate && $installedVersion) · {{ __('Installed') }}: v{{ $installedVersion }}@endif @endif

{{ csrf_field() }}
@if ($slug) {{-- Slug comes from the route — locked; disabled inputs don't submit, so the hidden one carries it. --}} @else @endif

{{ __('Drag & drop your zip file here or click to browse') }}

{{ __('Cancel') }}
@endsection @section('css') @endsection @section('script') @endsection