turn basket into a form
This commit is contained in:
parent
961c3c2ac9
commit
bdfdb3314e
|
@ -1,10 +1,13 @@
|
|||
{% load i18n %}
|
||||
{% if total %}
|
||||
<h3>{% trans "Basket" %}</h3>
|
||||
<form>
|
||||
<ul>
|
||||
{% for item in items %}
|
||||
<li>{{ item.subject }}: {{ item.amount }} €</li>
|
||||
<li><label><input type="checkbox" value="{{ item.id }}" checked/> {{ item.subject }}: {{ item.amount }} €</label> (<a href="{{ item.source_url}}">voir</a>)</li>
|
||||
{% endfor %}
|
||||
<li><strong>{% trans "Total:" %}</strong> {{ total }} €</li>
|
||||
</ul>
|
||||
<input type="submit" value="{% trans "Pay selected items" %}"/>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
|
Reference in New Issue