mirror of
https://github.com/miniflux/v2.git
synced 2025-07-27 17:28:38 +00:00
Preserve category selection when no feed is found
This commit is contained in:
parent
82e08d0f69
commit
43ccaf52af
3 changed files with 5 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
<label for="form-category">{{ t "form.feed.label.category" }}</label>
|
||||
<select id="form-category" name="category_id">
|
||||
{{ range .categories }}
|
||||
<option value="{{ .ID }}">{{ .Title }}</option>
|
||||
<option value="{{ .ID }}" {{ if eq $.form.CategoryID .ID }}selected="selected"{{ end }}>{{ .Title }}</option>
|
||||
{{ end }}
|
||||
</select>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue