<link href="https://cdn.jsdelivr.net/npm/tom-select@2.2.2/dist/css/tom-select.css"
      rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/tom-select@2.2.2/dist/js/tom-select.complete.min.js"></script>
<div id="createCourse" class="p-7">
    <h1 class="text-3xl font-bold mb-6 text-center">Course Details</h1>
    <form class="space-y-6"
          id="course-form"
          method="post"
          enctype="multipart/form-data">
        {% csrf_token %}
        <div id="error-message" class="hidden t