add surround the submit button with a P Tag
This commit is contained in:
parent
13f1832bad
commit
190242bbb7
|
@ -7,11 +7,13 @@
|
||||||
<p><b>Status:</b> {{ article.status }}</p>
|
<p><b>Status:</b> {{ article.status }}</p>
|
||||||
<p><b>Price:</b> {{ article.price_in_chf }} {{ currency_name }}</p>
|
<p><b>Price:</b> {{ article.price_in_chf }} {{ currency_name }}</p>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
<p>
|
||||||
<form id="amount" action="" method="POST" novalidate>
|
<form id="amount" action="" method="POST" novalidate>
|
||||||
{{ amount.as_p }}
|
{{ amount.as_p }}
|
||||||
<input type="submit" value="Add to Cart" />
|
<input type="submit" value="Add to Cart" />
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
</form>
|
</form>
|
||||||
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p> please login to fill your basket...</p>
|
<p> please login to fill your basket...</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue