diff --git a/InvenTree/part/templates/part/image_download.html b/InvenTree/part/templates/part/image_download.html new file mode 100644 index 0000000000..1191886711 --- /dev/null +++ b/InvenTree/part/templates/part/image_download.html @@ -0,0 +1,16 @@ +{% extends "modal_form.html" %} + +{% load inventree_extras %} +{% load i18n %} + +{% block pre_form_content %} +
+ {% trans "Specify URL for downloading image" %}: + + +
+{% endblock %} \ No newline at end of file diff --git a/InvenTree/part/views.py b/InvenTree/part/views.py index 7fe9f80216..a5b40124a6 100644 --- a/InvenTree/part/views.py +++ b/InvenTree/part/views.py @@ -846,6 +846,7 @@ class PartImageDownloadFromURL(AjaxUpdateView): model = Part + ajax_template_name = 'part/image_download.html' form_class = part_forms.PartImageDownloadForm ajax_form_title = _('Download Image')