From f529029004035c3a0b408c17aeca733637bd408f Mon Sep 17 00:00:00 2001
From: sandeepsajan0 <sandeepsajan0@gmail.com>
Date: Thu, 19 May 2022 14:19:50 +0530
Subject: [PATCH] Add 1 as max num restriction for external review forms in
 panel

---
 hypha/apply/funds/models/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hypha/apply/funds/models/utils.py b/hypha/apply/funds/models/utils.py
index 8507d795b..a59ae8897 100644
--- a/hypha/apply/funds/models/utils.py
+++ b/hypha/apply/funds/models/utils.py
@@ -117,7 +117,7 @@ class WorkflowStreamForm(WorkflowHelpers, AbstractStreamForm):  # type: ignore
         FieldPanel('workflow_name'),
         InlinePanel('forms', label=_('Forms')),
         InlinePanel('review_forms', label=_('Internal Review Forms')),
-        InlinePanel('external_review_forms', label=_('External Review Forms')),
+        InlinePanel('external_review_forms', label=_('External Review Forms'), max_num=1),
         InlinePanel('determination_forms', label=_('Determination Forms'))
     ]
 
-- 
GitLab