This commit is contained in:
parent
7d037be106
commit
b6c22df6f1
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
|||
<h2>Stats</h2>
|
||||
<label for="library">Library:</label>
|
||||
<select id="library" name="library" onchange="setLibrary(this.value)" class="short-button">
|
||||
<option {{if e .SelectedLibrary "" }} selected {{end}}value="">ALL</option>
|
||||
<option {{if eq .SelectedLibrary "" }} selected {{end}}value="">ALL</option>
|
||||
{{range $l := .Libraries}}
|
||||
<option {{if e .SelectedLibrary $l.ID }} selected {{end}}value="{{$l.ID}}">{{$l.Name}}</option>
|
||||
<option {{if eq .SelectedLibrary $l.ID }} selected {{end}}value="{{$l.ID}}">{{$l.Name}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<div class="stats">
|
||||
|
|
Loading…
Add table
Reference in a new issue