@include('admin.crud.form', [ 'action' => route('admin.live-class-integrations.update', $edit_data->id), 'method' => 'PUT', 'formId' => 'edit-live-class-integration-form', 'submitText' => 'Update Live class integration', 'class' => 'ajax-crud-form', 'redirect' => route('admin.live-class-integrations.index'), 'fields' => [ [ 'type' => 'text', 'name' => 'title', 'id' => 'title', 'label' => 'Title', 'placeholder' => 'Enter title', 'required' => true, 'value' => old('title', $edit_data->title), 'col' => 6 ], [ 'type' => 'select', 'name' => 'provider', 'id' => 'provider', 'label' => 'Provider', 'required' => true, 'options' => ['zoom' => 'Zoom'], 'value' => old('provider', $edit_data->provider), 'col' => 6 ], [ 'type' => 'text', 'name' => 'api_key', 'id' => 'api_key', 'label' => 'Api key', 'placeholder' => 'Enter api key', 'value' => old('api_key', $edit_data->api_key), 'col' => 6 ], [ 'type' => 'text', 'name' => 'api_secret', 'id' => 'api_secret', 'label' => 'Api secret', 'placeholder' => 'Enter api secret', 'value' => old('api_secret', $edit_data->api_secret), 'col' => 6 ], [ 'type' => 'select', 'name' => 'status', 'id' => 'status', 'label' => 'Status', 'required' => true, 'options' => [1 => 'Published', 0 => 'Draft'], 'value' => old('status', $edit_data->status), 'col' => 6 ], ] ])