add checkout cancel button

This commit is contained in:
Ivan Hörler 2018-02-27 22:16:24 +01:00
parent 9354817dd7
commit f170f5b0da
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@
</td>
</tr>
</table>
<form id="checkout_form" action="{% url 'cart' %}" method="POST">
{% csrf_token %}
<input type="submit" value="Cancel" class="btn btn-warning" role="button"/>
</form>
</br>
<form id="checkout_form" action="" method="POST">
{% csrf_token %}
{{ checkout_form.as_p }}