fix: Select first upload library path by default. (#48)
This is just a minor fix. Probably it shouldn't make a big difference, but I think it is good style to make sure that the there is a pre-selected default for the upload library. Reviewed-on: https://git.mills.io/prologic/tube/pulls/48 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
This commit is contained in:
parent
f6dedea101
commit
dc5cceec37
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
<div class="upload-details">
|
<div class="upload-details">
|
||||||
<select id="target-library-path" name="target-library-path">
|
<select id="target-library-path" name="target-library-path">
|
||||||
{{range $index, $item :=.Config.Library}}
|
{{range $index, $item :=.Config.Library}}
|
||||||
<option value="{{$item.Path}}">{{$item.Path}}</option>
|
<option value="{{$item.Path}}"{{if eq $index 0}} selected{{end}}>{{$item.Path}}</option>
|
||||||
{{end}}
|
{{end}}
|
||||||
</select>
|
</select>
|
||||||
<input id="video-title" type="text" placeholder="Optional title" />
|
<input id="video-title" type="text" placeholder="Optional title" />
|
||||||
|
|
Loading…
Reference in a new issue