Browse Source

the (rather useless) product detail view now uses the common template

master
Frederic 11 years ago
parent
commit
9202e8b3cf
  1. 14
      cash/templates/cash/product_detail.html

14
cash/templates/cash/product_detail.html

@ -1,7 +1,15 @@ @@ -1,7 +1,15 @@
{% extends "cash/base.html" %}
{% load url from future %}
Name: <i>{{ product.name }}</i><br/>
Preis: <i>{{ product.price }}</i><br/>
Kategorie: <i>{{ product.category }}</i><br/>
{% block content %}
<h1>Produktdetails</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>
{% endblock %}

Loading…
Cancel
Save