diff --git a/client/src/pages/admin.tsx b/client/src/pages/admin.tsx index b2ad345..8ffde44 100644 --- a/client/src/pages/admin.tsx +++ b/client/src/pages/admin.tsx @@ -363,8 +363,11 @@ function EditVideoDialog({ - Music Video - Show/Episode + Music Video + Show/Episode + Video + Documentary + Live Performance @@ -395,26 +398,27 @@ function EditVideoDialog({
setFormData({ ...formData, title: e.target.value })} className="bg-white/10 border-white/20 text-white" - placeholder={formData.episodeTitle ? "Show name (e.g., Die Geschichte des Liedes)..." : "Song title..."} + placeholder={formData.contentType === 'oddaja' ? "Show name (e.g., Die Geschichte des Liedes)..." : "Song title..."} required />
-
@@ -429,12 +433,15 @@ function EditVideoDialog({
- + setFormData({ ...formData, episodeTitle: e.target.value })} - className="bg-white/10 border-white/20 text-white" + className={`bg-white/10 border-white/20 text-white ${formData.contentType === 'music_video' || formData.contentType === 'video' ? 'bg-gray-600 text-gray-400 cursor-not-allowed' : ''}`} placeholder="e.g., Ansambel Zupan" + disabled={formData.contentType === 'music_video' || formData.contentType === 'video'} />