aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/import.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/import.html')
-rw-r--r--template/html/import.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/html/import.html b/template/html/import.html
index 0668f25..3a2b987 100644
--- a/template/html/import.html
+++ b/template/html/import.html
@@ -31,4 +31,15 @@
</div>
</form>
+<form action="{{ route "fetchOPML" }}" method="post" enctype="multipart/form-data">
+ <input type="hidden" name="csrf" value="{{ .csrf }}">
+
+ <label for="form-url">{{ t "form.import.label.url" }}</label>
+ <input type="url" name="url" id="form-url">
+
+ <div class="buttons">
+ <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.import" }}</button>
+ </div>
+</form>
+
{{ end }}