aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/choose_subscription.html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-06-19 22:58:29 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-06-19 22:58:29 -0700
commitbddca15b69692bd055c507f2469e68dca1e56098 (patch)
tree913989e170cc3ac46558c682f8ec10813a0ae3c5 /template/html/choose_subscription.html
parent261695c14c2d768f392cfb774e7940660edaa3d9 (diff)
Add new fields for feed username/password
Diffstat (limited to 'template/html/choose_subscription.html')
-rw-r--r--template/html/choose_subscription.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/template/html/choose_subscription.html b/template/html/choose_subscription.html
index a1a8e68..7668605 100644
--- a/template/html/choose_subscription.html
+++ b/template/html/choose_subscription.html
@@ -18,7 +18,12 @@
<form action="{{ route "chooseSubscription" }}" method="POST">
<input type="hidden" name="csrf" value="{{ .csrf }}">
- <input type="hidden" name="category_id" value="{{ .categoryID }}">
+ <input type="hidden" name="category_id" value="{{ .form.CategoryID }}">
+ <input type="hidden" name="username" value="{{ .form.Username }}">
+ <input type="hidden" name="password" value="{{ .form.Password }}">
+ {{ if .form.Crawler }}
+ <input type="hidden" name="crawler" value="1">
+ {{ end }}
<h3>{{ t "Choose a Subscription" }}</h3>
@@ -29,9 +34,6 @@
</div>
{{ end }}
- <br>
- <label><input type="checkbox" name="crawler" value="1" {{ if .form.Crawler }}checked{{ end }}> {{ t "Fetch original content" }}</label>
-
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Subscribe" }}</button>
</div>