@extends('admin.layouts.app')

@section('title', $title)

@section('content')
    @include('admin.layouts.errors')

    @include('admin.layouts.notifications')

    <div class="col-md-6">
        <!-- Page Heading -->
        <div class="row mb-3">
            <h4 class="c-grey-900">{{ $title }}</h4>
        </div>

        <!-- Form -->
        <div class="row">
            <div class="bgc-white bd bdrs-3 p-20 mB-20">
                <form action="{{ route('ch-admin.webhooks.update', $webhook->id) }}" method="POST">
                    @csrf

                    @include('admin.webhooks.partials.form', ['buttonLabel' => 'Update Webhook'])
                </form>
            </div>
        </div>
@endsection
