@extends('layouts.admin')

@section('title', 'Edit Managed Script: ' . $script->name)
@section('header_title', 'Edit Managed Script: ' . $script->name)

@section('content')
<div class="bg-white dark:bg-gray-800 overflow-hidden shadow-xl sm:rounded-lg">
    <div class="p-6 lg:p-8">
        @include('admin.partials.alerts')
        <form action="{{ route('admin.appmanager.scripts.update', $script) }}" method="POST">
            @csrf
            @method('PUT')
            @include('appmanager::admin.managed_scripts._form', ['script' => $script, 'statuses' => $statuses])
        </form>
    </div>
</div>
@endsection
