From f13a85dba319244c368cad82257affaecda180c8 Mon Sep 17 00:00:00 2001 From: Tobias Bengfort Date: Wed, 17 Jun 2020 09:06:28 +0200 Subject: [PATCH 1/2] update file input workaround still needed but for a different reason --- castellum/templates/file_field.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/castellum/templates/file_field.html b/castellum/templates/file_field.html index 47c99083c..a82f8d49e 100644 --- a/castellum/templates/file_field.html +++ b/castellum/templates/file_field.html @@ -1,4 +1,4 @@ -{# workaround for https://github.com/zostera/django-bootstrap4/pull/146 #} +{# workaround for https://github.com/zostera/django-bootstrap4/issues/212 #}
{{ field }}
-- GitLab From eb8f9d95c46f51611abfea5800329ede6ecca1fd Mon Sep 17 00:00:00 2001 From: Tobias Bengfort Date: Wed, 17 Jun 2020 09:06:44 +0200 Subject: [PATCH 2/2] use file input workaround for geo_filter --- .../templates/studies/study_recruitmentsettings_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/castellum/studies/templates/studies/study_recruitmentsettings_form.html b/castellum/studies/templates/studies/study_recruitmentsettings_form.html index 5eba0f5b9..fd58f2376 100644 --- a/castellum/studies/templates/studies/study_recruitmentsettings_form.html +++ b/castellum/studies/templates/studies/study_recruitmentsettings_form.html @@ -16,7 +16,7 @@ {% bootstrap_field form.advanced_filtering %} {% bootstrap_field form.is_exclusive %} {% bootstrap_field form.complete_matches_only %} - {% bootstrap_field form.geo_filter %} + {% include "file_field.html" with field=form.geo_filter %} {% if not readonly %}
-- GitLab