diff options
Diffstat (limited to 'template/html')
-rw-r--r-- | template/html/add_subscription.html | 2 |
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> |