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.
21 lines
497 B
21 lines
497 B
{% extends "cash/base.html" %} |
|
{% load url from future %} |
|
|
|
|
|
{% block content %} |
|
|
|
<h1>Produkt kaufen</h1> |
|
|
|
<table> |
|
<tr><th>Name:</th><td>{{ product.name }}</td></tr> |
|
<tr><th>Preis:</th><td>{{ product.price }}</td></tr> |
|
<tr><th>Kategorie:</th><td>{{ product.category }}</td></tr> |
|
</table> |
|
|
|
<p>Möchten Sie dieses Produkt wirklich kaufen?</p> |
|
<a class="btn btn-default" href="{% url 'buy_really' product.id %}">Ja</a> |
|
<a class="btn btn-default" href="{% url 'products' %}">Nein</a> |
|
|
|
|
|
|
|
{% endblock %}
|
|
|