   <h1 class="text-3xl font-bold">Edit Course</h1>
      </div>
      <div class="bg-white dark:bg-gray-800 rounded-lg shadow-lg p-6">
        <form method="post"
              enctype="multipart/form-data"
              class="space-y-6"
              id="updateCourseForm"
              novalidate>
          {% csrf_token %}
          {% for field in form %}
            <div class="space-y-2">
              <label for="{{ field.id_for_label }}" class="block text-sm font-medium">{{ field.label }}</label>
  