diff --git a/bookwyrm/templates/import.html b/bookwyrm/templates/import/import.html similarity index 96% rename from bookwyrm/templates/import.html rename to bookwyrm/templates/import/import.html index d2e40748..cac6fdce 100644 --- a/bookwyrm/templates/import.html +++ b/bookwyrm/templates/import/import.html @@ -28,6 +28,7 @@ + {% include 'components/tooltip.html' with controls_text="goodreads-tooltip" %}
{{ import_form.csv_file }} diff --git a/bookwyrm/templates/import_status.html b/bookwyrm/templates/import/import_status.html similarity index 100% rename from bookwyrm/templates/import_status.html rename to bookwyrm/templates/import/import_status.html diff --git a/bookwyrm/views/import_data.py b/bookwyrm/views/import_data.py index 9e2e817d..634940a0 100644 --- a/bookwyrm/views/import_data.py +++ b/bookwyrm/views/import_data.py @@ -28,7 +28,7 @@ class Import(View): """load import page""" return TemplateResponse( request, - "import.html", + "import/import.html", { "import_form": forms.ImportForm(), "jobs": models.ImportJob.objects.filter(user=request.user).order_by( @@ -94,7 +94,7 @@ class ImportStatus(View): items = [i for i in items if not i.fail_reason] return TemplateResponse( request, - "import_status.html", + "import/import_status.html", {"job": job, "items": items, "failed_items": failed_items, "task": task}, )