From 34574c99e868e9682bd5ce455438deb0640c9dcc Mon Sep 17 00:00:00 2001 From: sandeepsajan0 <sandeepsajan0@gmail.com> Date: Thu, 7 Jul 2022 18:09:00 +0530 Subject: [PATCH] Render field.block instead of field itself --- .../templates/determinations/base_determination_form.html | 2 +- .../apply/funds/templates/funds/applicationsubmission_form.html | 2 +- hypha/apply/review/templates/review/review_form.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hypha/apply/determinations/templates/determinations/base_determination_form.html b/hypha/apply/determinations/templates/determinations/base_determination_form.html index 510c1d553..4d17d56ca 100644 --- a/hypha/apply/determinations/templates/determinations/base_determination_form.html +++ b/hypha/apply/determinations/templates/determinations/base_determination_form.html @@ -40,7 +40,7 @@ {% if field.field %} {% include "forms/includes/field.html" %} {% else %} - {{ field }} + {{ field.block }} {% endif %} {% endfor %} {% block form_buttons %} diff --git a/hypha/apply/funds/templates/funds/applicationsubmission_form.html b/hypha/apply/funds/templates/funds/applicationsubmission_form.html index 3faef99d3..8520b225d 100644 --- a/hypha/apply/funds/templates/funds/applicationsubmission_form.html +++ b/hypha/apply/funds/templates/funds/applicationsubmission_form.html @@ -24,7 +24,7 @@ {% include "forms/includes/field.html" %} {% endif %} {% else %} - {{ field }} + {{ field.block }} {% endif %} {% endfor %} diff --git a/hypha/apply/review/templates/review/review_form.html b/hypha/apply/review/templates/review/review_form.html index 91cafec21..5f34abea3 100644 --- a/hypha/apply/review/templates/review/review_form.html +++ b/hypha/apply/review/templates/review/review_form.html @@ -34,7 +34,7 @@ {% if field.field %} {% include "forms/includes/field.html" %} {% else %} - {{ field }} + {{ field.block }} {% endif %} {% endfor %} {% if not object.id or object.is_draft %} -- GitLab