@include('admin.crud.form', [ 'action' => route('admin.course-materials.notes.store', [$course_id, $material->id]), 'formId' => 'add-note-form', 'submitText' => 'Save Note', 'class' => 'ajax-crud-form', 'redirect' => route('admin.course-materials.notes.index', [$course_id, $material->id]), 'fields' => [ [ 'type' => 'info', 'content' => 'Adding note for material: ' . $material->title . '', 'col' => 12 ], [ 'type' => 'textarea', 'name' => 'content', 'id' => 'content', 'label' => 'Note Content', 'placeholder' => 'Enter note content', 'required' => true, 'rows' => 10, 'col' => 12 ], [ 'type' => 'json', 'name' => 'attachments', 'id' => 'attachments', 'label' => 'Attachments (JSON)', 'placeholder' => 'Enter attachments as JSON array', 'col' => 12 ] ] ])