From 63b2e0d6f52df7dd5db389acf6584980cc4cf2cb Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Mon, 17 Feb 2020 14:44:22 +0100
Subject: [PATCH] Load the needed css and js for the address field widget so it
 behaves correctly on application projects edit form.

---
 .../templates/application_projects/project_form.html      | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/opentech/apply/projects/templates/application_projects/project_form.html b/opentech/apply/projects/templates/application_projects/project_form.html
index 6834a47d5..6e0a272a6 100644
--- a/opentech/apply/projects/templates/application_projects/project_form.html
+++ b/opentech/apply/projects/templates/application_projects/project_form.html
@@ -38,3 +38,11 @@
     </div>
 </div>
 {% endblock %}
+
+{% block extra_css %}
+    {{ form.media.css }}
+{% endblock %}
+
+{% block extra_js %}
+    {{ form.media.js }}
+{% endblock %}
-- 
GitLab