File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ <h4><u>Answers:</u></h4>
190190
191191 <!-- form to add comment -->
192192 {% if user.is_authenticated %}
193- < form id ="form{{ answer.id }} " method ="post " action ="/answer-comment/ "> {% csrf_token %}
193+ < form id ="form{{ answer.id }} " method ="post " action ="/answer-comment/ " novalidate > {% csrf_token %}
194194 < input type ="hidden " name ="answer_id " value ="{{answer.id}} ">
195195 < textarea name ="body " class ="new-comment form-control " id ="comment{{ answer.id }} " rows ="2 "> </ textarea >
196196 </ form >
@@ -217,7 +217,7 @@ <h4><u>Answers:</u></h4>
217217{% endfor %}
218218
219219{% if user.is_authenticated %}
220- < form action ="{% url 'website:question_answer' %} " method ="POST "> {% csrf_token %}
220+ < form action ="{% url 'website:question_answer' %} " method ="POST " novalidate > {% csrf_token %}
221221 {% with WIDGET_ERROR_CLASS='field_error' %}
222222 < div class ="row ">
223223 < div class ="col-lg-12 col-md-12 col-sm-12 col-xs-12 ">
You can’t perform that action at this time.
0 commit comments