From bc868f4483fc06ee2ecd18e176d40c75c358aedd Mon Sep 17 00:00:00 2001
From: Shrikrishna Singh <krishnasingh.ss30@gmail.com>
Date: Tue, 9 Jun 2020 14:47:01 +0530
Subject: [PATCH] Add formnovalidate to draft button for reviews and
 determinations

---
 .../templates/determinations/base_determination_form.html     | 4 ++--
 hypha/apply/review/templates/review/review_form.html          | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hypha/apply/determinations/templates/determinations/base_determination_form.html b/hypha/apply/determinations/templates/determinations/base_determination_form.html
index 9356ae88c..fddfcb2d4 100644
--- a/hypha/apply/determinations/templates/determinations/base_determination_form.html
+++ b/hypha/apply/determinations/templates/determinations/base_determination_form.html
@@ -19,7 +19,7 @@
     {% block determination_information %}
     {% endblock %}
 
-    <form class="form form--with-p-tags" action="" method="post" novalidate>
+    <form class="form form--with-p-tags" action="" method="post">
         {{ form.media }}
         {% csrf_token %}
 
@@ -45,7 +45,7 @@
         {% endfor %}
         {% block form_buttons %}
             {% if form.draft_button_name %}
-                <input class="button button--submit button--top-space button--white" type="submit" value="Save Draft" name="{{ form.draft_button_name }}" />
+                <input class="button button--submit button--top-space button--white" type="submit" value="Save Draft" name="{{ form.draft_button_name }}" formnovalidate/>
             {% endif %}
             <input class="button button--submit button--top-space button--primary" type="submit" value="Send/Save" name="submit" />
         {% endblock %}
diff --git a/hypha/apply/review/templates/review/review_form.html b/hypha/apply/review/templates/review/review_form.html
index d87628e52..8e81f160e 100644
--- a/hypha/apply/review/templates/review/review_form.html
+++ b/hypha/apply/review/templates/review/review_form.html
@@ -12,7 +12,7 @@
 
 <div class="wrapper wrapper--medium wrapper--inner-space-medium">
 {% if not has_submitted_review %}
-    <form class="form form--with-p-tags form--scoreable" action="" method="post" novalidate>
+    <form class="form form--with-p-tags form--scoreable" action="" method="post">
         {{ form.media }}
         {% csrf_token %}
 
@@ -37,7 +37,7 @@
             {% endif %}
         {% endfor %}
         {% if not object.id or object.is_draft %}
-            <input class="button button--submit button--top-space button--white" type="submit" value="Save Draft" name="{{ form.draft_button_name }}" />
+            <input class="button button--submit button--top-space button--white" type="submit" value="Save Draft" name="{{ form.draft_button_name }}" formnovalidate/>
         {% endif %}
         <input class="button button--submit button--top-space button--primary" type="submit" value="Submit" name="submit" />
     </form>
-- 
GitLab