add checkout cancel button

This commit is contained in:
Ivan Hörler 2018-02-27 22:16:24 +01:00 committed by Andreas Zweili
parent 18b6ba8948
commit 4a7a52b7bd
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 }}