{* SPDX-FileCopyrightText: © 2024 Olivier Meunier SPDX-License-Identifier: AGPL-3.0-only *} {{ extends "./base" }} {{ import "/_libs/forms"}} {{- block title() -}}{{ gettext("Import Links from a Text File") }}{{- end -}} {{- block mainContent() -}}

{{ yield title() }}

{{ gettext(` Upload a text file that contains one link per line and Readeck will fetch all of them and save them in your bookmark list. `) }}

{{ yield formErrors(form=.Form) }} {{- yield fileDropField( field=.Form.Get("data"), required=true, label=gettext("File"), class="field-h", ) -}} {{ include "./options" }}

{{ gettext("Cancel") }}

{{- end -}}