You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
622 B
22 lines
622 B
{% extends "cash/base.html" %} |
|
{% load url from future %} |
|
{% load i18n %} |
|
|
|
|
|
{% block content %} |
|
|
|
<h1>{% trans "Buy product" %}</h1> |
|
|
|
<table> |
|
<tr><th>{% trans "Name" %}:</th><td>{{ product.name }}</td></tr> |
|
<tr><th>{% trans "Price" %}:</th><td>{{ product.price }}</td></tr> |
|
<tr><th>{% trans "Category" %}:</th><td>{{ product.category }}</td></tr> |
|
</table> |
|
|
|
<p>{% blocktrans %}Do you really want to buy this product?{% endblocktrans %}</p> |
|
<a class="btn btn-default" href="{% url 'buy_really' product.id %}">{% trans "Yes" %}</a> |
|
<a class="btn btn-default" href="{% url 'products' %}">{% trans "No" %}</a> |
|
|
|
|
|
|
|
{% endblock %}
|
|
|