diff options
-rw-r--r-- | template/templates/views/edit_feed.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/template/templates/views/edit_feed.html b/template/templates/views/edit_feed.html index 5543cd8d..6f6f9d39 100644 --- a/template/templates/views/edit_feed.html +++ b/template/templates/views/edit_feed.html @@ -32,9 +32,16 @@ {{ if .errorMessage }} <div class="alert alert-error">{{ t .errorMessage }}</div> {{ end }} + + <label for="form-category">{{ t "form.feed.label.category" }}</label> + <select id="form-category" name="category_id" autofocus> + {{ range .categories }} + <option value="{{ .ID }}" {{ if eq .ID $.form.CategoryID }}selected="selected"{{ end }}>{{ .Title }}</option> + {{ end }} + </select> <label for="form-title">{{ t "form.feed.label.title" }}</label> - <input type="text" name="title" id="form-title" value="{{ .form.Title }}" spellcheck="false" required autofocus> + <input type="text" name="title" id="form-title" value="{{ .form.Title }}" spellcheck="false" required> <label for="form-site-url">{{ t "form.feed.label.site_url" }}</label> <input type="url" name="site_url" id="form-site-url" placeholder="https://domain.tld/" value="{{ .form.SiteURL }}" spellcheck="false" required> @@ -73,13 +80,6 @@ <label for="form-keeplist-rules">{{ t "form.feed.label.keeplist_rules" }}</label> <input type="text" name="keeplist_rules" id="form-keeplist-rules" value="{{ .form.KeeplistRules }}" spellcheck="false"> - <label for="form-category">{{ t "form.feed.label.category" }}</label> - <select id="form-category" name="category_id"> - {{ range .categories }} - <option value="{{ .ID }}" {{ if eq .ID $.form.CategoryID }}selected="selected"{{ end }}>{{ .Title }}</option> - {{ end }} - </select> - <label><input type="checkbox" name="crawler" value="1" {{ if .form.Crawler }}checked{{ end }}> {{ t "form.feed.label.crawler" }}</label> <label><input type="checkbox" name="ignore_http_cache" value="1" {{ if .form.IgnoreHTTPCache }}checked{{ end }}> {{ t "form.feed.label.ignore_http_cache" }}</label> <label><input type="checkbox" name="allow_self_signed_certificates" value="1" {{ if .form.AllowSelfSignedCertificates }}checked{{ end }}> {{ t "form.feed.label.allow_self_signed_certificates" }}</label> |