15 lines
508 B
HTML
15 lines
508 B
HTML
{% load i18n %}
|
|
{% if total %}
|
|
<h2>{% trans "Basket" %}</h2>
|
|
<form action="{% url 'lingo-pay' %}" method="POST">
|
|
{% csrf_token %}
|
|
<ul>
|
|
{% for item in items %}
|
|
<li><label><input type="checkbox" name="item" 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 %}
|