add surround the submit button with a P Tag

This commit is contained in:
Andreas Zweili 2018-02-18 18:33:14 +01:00
parent 13f1832bad
commit 190242bbb7
1 changed files with 2 additions and 0 deletions

View File

@ -7,11 +7,13 @@
<p><b>Status:</b> {{ article.status }}</p>
<p><b>Price:</b> {{ article.price_in_chf }} {{ currency_name }}</p>
{% if user.is_authenticated %}
<p>
<form id="amount" action="" method="POST" novalidate>
{{ amount.as_p }}
<input type="submit" value="Add to Cart" />
{% csrf_token %}
</form>
</p>
{% else %}
<p> please login to fill your basket...</p>
{% endif %}