Frederic
11 years ago
4 changed files with 52 additions and 1 deletions
@ -0,0 +1,21 @@
@@ -0,0 +1,21 @@
|
||||
{% 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> |
||||
|
||||
Möchten Sie dieses Produkt wirklich kaufen?<br/> |
||||
<a class="actionlink" href="{% url 'buy_really' product.id %}">Ja</a> |
||||
<a class="actionlink" href="{% url 'products' %}">Nein</a> |
||||
|
||||
|
||||
|
||||
{% endblock %} |
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
{% extends "cash/base.html" %} |
||||
{% load url from future %} |
||||
|
||||
|
||||
{% block content %} |
||||
|
||||
<h1>Produkt kaufen</h1> |
||||
|
||||
Vielen Dank fuer Ihren Einkauf! |
||||
|
||||
{% endblock %} |
||||
|
Loading…
Reference in new issue