v0.3.1
updated default year used on frontend
This commit is contained in:
1 parent
6bd0c9e37c
commit
76ef62bb96
4 files changed
+6
-7
No files matched your search
@@ -58,7 +58,7 @@
|
||||
<label for="dsy-year">Godina</label>
|
||||
<select id="dsy-year" name="year">
|
||||
{{range $entry := .Years}}
|
||||
<option value="{{$entry}}">{{$entry}}</option>
|
||||
<option {{if eq $.Year $entry}}selected{{end}} value="{{$entry}}">{{$entry}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
</section>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<label for="year">Za godinu:</label>
|
||||
<select id="year" name="year">
|
||||
{{range $entry := .Years}}
|
||||
<option {{if intpeq $.Search.Year $entry}}selected{{end}} value="{{$entry}}">{{$entry}}</option>
|
||||
<option {{if eq $.Year $entry}}selected{{end}} value="{{$entry}}">{{$entry}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user