I have the following lines in my django template file:-cart.html:-
<td class="right">
<form method="post" action="." class="cart">
<label for="quantity">Quantity:</label>
<input type="text" name="quantity" value="{{ item.quantity }}" id="quantity" size="2" class="quantity" maxlength="5" />
<input type="hidden" name="item_id" value="{{ item.id }}" />
</td>
<td>
<input type="submit" name="submit" value="Update" />
</form>
</td>
At the first closing tag of td i.e is the first </td>
,i get the following error:
Element form is not closed.Please help me to rectify this error.