Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Merge pull request #806 from Kiloutre/patch-4

removal of value in <select>
Cette révision appartient à :
akuma06 2017-05-28 22:25:41 +02:00 révisé par GitHub
révision 01f4f15d6e

Voir le fichier

@ -1,19 +1,19 @@
{{define "search_common"}}
<select name="c" class="form-input hide-xs" value>
<select name="c" class="form-input hide-xs">
<option value="_">{{call $.T "all_categories"}}</option>
{{ range $name_cat, $id_cat := (GetCategories true) }}
<option value="{{ $id_cat }}" {{if eq $.Search.Category $id_cat }}selected{{end}}>{{call $.T $name_cat }}</option>
{{ end }}
</select>
<label><span class="select-icon caret-down-icon"></span></label>
<select name="s" class="form-input hide-xs" value>
<select name="s" class="form-input hide-xs">
<option value="0">{{call $.T "show_all"}}</option>
<option value="1" {{if eq .Search.Status 1}}selected{{end}}>{{call $.T "filter_remakes"}}</option>
<option value="2" {{if eq .Search.Status 2}}selected{{end}}>{{call $.T "trusted"}}</option>
<option value="3" {{if eq .Search.Status 3}}selected{{end}}>A+</option>
</select>
{{ if .Search.ShowItemsPerPage }}
<select name="max" class="form-input hide-xs" value>
<select name="max" class="form-input hide-xs">
<option value="5" {{if eq .Navigation.MaxItemPerPage 5}}selected{{end}}>5</option>
<option value="10" {{if eq .Navigation.MaxItemPerPage 10}}selected{{end}}>10</option>
<option value="15" {{if eq .Navigation.MaxItemPerPage 15}}selected{{end}}>15</option>