"w-full p-2 bg-[#39404b] rounded-md text-white border border-gray-600 focus:outline-none focus:ring-2 focus:ring-[#4a9eff]" }}
      </div>
    {% endif %}

    <div class="flex flex-row-reverse justify-between mt-6">
      <button type="submit"
              formaction="{% url 'media_save' %}?next={{ return_url }}"
              class="px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 cursor-pointer">
        {% if media %}
          Update
        {% else %}
          Add
        {% endif 