summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>2023-01-21 00:59:14 +0000
committerJames Mills <james@mills.io>2023-01-21 00:59:14 +0000
commit6a4ea237948912e9431bbf21c8832ddda9bec941 (patch)
treeccf0bd682635df407e03b79c5714f0956931c33e
parentda0dc4aa2345a50e002e9cf6268a4c59310327a6 (diff)
fix: upload form shows prefix instead of path now (#64)
This is just a cosmetic change as the values still use the Library.Paths[] Closes prologic/tube#56 Reviewed-on: https://git.mills.io/prologic/tube/pulls/64 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
-rw-r--r--templates/upload.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/upload.html b/templates/upload.html
index 97d0c08..798089d 100644
--- a/templates/upload.html
+++ b/templates/upload.html
@@ -11,7 +11,7 @@
<div class="upload-details">
<select id="target-library-path" name="target-library-path">
{{range $index, $item :=.Config.Library}}
- <option value="{{$item.Path}}"{{if eq $index 0}} selected{{end}}>{{$item.Path}}</option>
+ <option value="{{$item.Path}}"{{if eq $index 0}} selected{{end}}>/{{$item.Prefix}}</option>
{{end}}
</select>
<input id="video-title" type="text" placeholder="Optional title" />