Skip to content

Commit

Permalink
Moved templates to a common locations for all examples.
Browse files Browse the repository at this point in the history
The UI for each example is identical, so might as well share the
templates.
  • Loading branch information
malcolmt committed Sep 5, 2010
1 parent 1f8f590 commit 6d5ae95
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<h2>{{ product.name}} — {{ num_reviews }} review{{ num_reviews|pluralize }}</h2>
{% endwith %}

<ol>{% for review in product.reviews %}
<ul>{% for review in product.reviews %}
<li><a href="{% url show-review review.id %}">By {{ review.reviewer }} at
{{ review.created|date:"P, j N Y" }}</a></li>
{% endfor %}
</ol>
</ul>
<p class="highlight"><a href="{% url add-review product.id %}">Create new review</a></p>
{% endfor %}
{% endblock %}
Expand Down
File renamed without changes.

0 comments on commit 6d5ae95

Please sign in to comment.