aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-12-12 21:31:50 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-12-12 21:31:50 -0800
commit43ccaf52af1ddaf847ed0fc4969418e6480dc18b (patch)
tree9d95da1bc6dc18eb2ad5ff68af115673f03ff15d /template/html
parent82e08d0f698a181617aa727345a29eb6500d1d4c (diff)
Preserve category selection when no feed is found
Diffstat (limited to 'template/html')
-rw-r--r--template/html/add_subscription.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/html/add_subscription.html b/template/html/add_subscription.html
index 2ebbca6..4a6fe7d 100644
--- a/template/html/add_subscription.html
+++ b/template/html/add_subscription.html
@@ -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>