Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 6d5ae956442ebcc3c288ab96b078b2189c4febd1 1 parent 1f8f590
Malcolm Tredinnick authored
0  ...onal_split/reviews/templates/reviews/missing.html → templates/reviews/missing.html
File renamed without changes
0  ...l_split/reviews/templates/reviews/new_review.html → templates/reviews/new_review.html
File renamed without changes
4 ...it/reviews/templates/reviews/product_reviews.html → templates/reviews/product_reviews.html
@@ -6,11 +6,11 @@
6 6 <h2>{{ product.name}} — {{ num_reviews }} review{{ num_reviews|pluralize }}</h2>
7 7 {% endwith %}
8 8
9   -<ol>{% for review in product.reviews %}
  9 +<ul>{% for review in product.reviews %}
10 10 <li><a href="{% url show-review review.id %}">By {{ review.reviewer }} at
11 11 {{ review.created|date:"P, j N Y" }}</a></li>
12 12 {% endfor %}
13   -</ol>
  13 +</ul>
14 14 <p class="highlight"><a href="{% url add-review product.id %}">Create new review</a></p>
15 15 {% endfor %}
16 16 {% endblock %}
0  ...ional_split/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.