From aaeaa40e934c8ad510a1f91ae28a50bc8047bb6b Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Wed, 31 Aug 2022 10:51:35 +0200
Subject: [PATCH] Rename Forms to Application forms.

---
 hypha/apply/funds/models/applications.py | 6 +++++-
 hypha/apply/funds/models/utils.py        | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/hypha/apply/funds/models/applications.py b/hypha/apply/funds/models/applications.py
index b1a96a402..c6abd8105 100644
--- a/hypha/apply/funds/models/applications.py
+++ b/hypha/apply/funds/models/applications.py
@@ -188,7 +188,11 @@ class RoundBase(WorkflowStreamForm, SubmittableStreamForm):  # type: ignore
         FieldPanel('reviewers', widget=forms.SelectMultiple(attrs={'size': '16'})),
         ReadOnlyPanel('get_workflow_name_display', heading=_('Workflow'), help_text=_('Copied from the fund.')),
         # Forms comes from parental key in models/forms.py
-        ReadOnlyInlinePanel('forms', help_text=_('Copied from the fund.')),
+        ReadOnlyInlinePanel(
+            'forms',
+            help_text=_('Copied from the fund.'),
+            heading=_('Application forms')
+        ),
         ReadOnlyInlinePanel(
             'review_forms',
             help_text=_('Copied from the fund.'),
diff --git a/hypha/apply/funds/models/utils.py b/hypha/apply/funds/models/utils.py
index e01b098b9..2023af948 100644
--- a/hypha/apply/funds/models/utils.py
+++ b/hypha/apply/funds/models/utils.py
@@ -116,7 +116,7 @@ class WorkflowStreamForm(WorkflowHelpers, AbstractStreamForm):  # type: ignore
 
     content_panels = AbstractStreamForm.content_panels + [
         FieldPanel('workflow_name'),
-        InlinePanel('forms', label=_('Forms')),
+        InlinePanel('forms', label=_('Application forms')),
         InlinePanel('review_forms', label=_('Internal Review Forms')),
         InlinePanel(
             'external_review_forms',
-- 
GitLab