@include('admin.crud.form', [ 'action' => route('admin.live-class-accounts.update', $edit_data->id), 'method' => 'PUT', 'formId' => 'edit-live-class-account-form', 'submitText' => 'Update Live class account', 'class' => 'ajax-crud-form', 'redirect' => route('admin.live-class-accounts.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' => 'integration_id', 'id' => 'provider', 'label' => 'Integrations', 'required' => true, 'options' => $integrations, 'value' => old('integration_id', $edit_data->integration_id), 'col' => 6 ], [ 'type' => 'text', 'name' => 'account_id', 'id' => 'account_id', 'label' => 'Account ID', 'placeholder' => 'Enter Account ID', 'value' => old('account_id', $edit_data->account_id), 'col' => 6 ], [ 'type' => 'text', 'name' => 'account_key', 'id' => 'account_key', 'label' => 'Account Key', 'placeholder' => 'Enter Account key', 'value' => old('account_key', $edit_data->account_key), '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 ], ] ])