From 6f2f28a3a752cc47d9dc96bda862ed67cd75c9af Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 1 Dec 2022 18:46:49 -0700 Subject: Image attachment uploads --- templates/forms/_field.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/forms') diff --git a/templates/forms/_field.html b/templates/forms/_field.html index 99db819..41f59d8 100644 --- a/templates/forms/_field.html +++ b/templates/forms/_field.html @@ -17,7 +17,7 @@ {% endif %} {{ field }} - {% if field.field.widget.input_type == "file" %} + {% if field.field.widget.input_type == "file" and field.value%} {% endif %} -- cgit v1.2.3