Skip to content
Browse files

Moved templates to a common locations for all examples.

The UI for each example is identical, so might as well share the
templates.
  • Loading branch information...
1 parent 1f8f590 commit 6d5ae956442ebcc3c288ab96b078b2189c4febd1 @malcolmt committed Sep 5, 2010
View
0 ...it/reviews/templates/reviews/missing.html → templates/reviews/missing.html
File renamed without changes.
View
0 ...reviews/templates/reviews/new_review.html → templates/reviews/new_review.html
File renamed without changes.
View
4 ...ws/templates/reviews/product_reviews.html → templates/reviews/product_reviews.html
@@ -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 %}
View
0 ...lit/reviews/templates/reviews/review.html → templates/reviews/review.html
File renamed without changes.

0 comments on commit 6d5ae95

Please sign in to comment.
Something went wrong with that request. Please try again.