comparison bns_website/templates/reviews/review_list.html @ 31:9b62e4eef794

Now that we have HTML as review content, must avoid styling <ul> & <li> in review content.
author Brian Neal <bgneal@gmail.com>
date Fri, 04 Nov 2011 20:08:45 -0500
parents 4eaaf3809385
children b34d5e7affe3
comparison
equal deleted inserted replaced
30:4eaaf3809385 31:9b62e4eef794
13 {% block content %} 13 {% block content %}
14 {% navbar 'reviews' %} 14 {% navbar 'reviews' %}
15 <h1>Reviews</h1> 15 <h1>Reviews</h1>
16 16
17 <div class="reviews"> 17 <div class="reviews">
18 <ul> 18 <ul class="review-list">
19 {% for review in object_list %} 19 {% for review in object_list %}
20 <li> 20 <li class="review-list-item">
21 <blockquote> 21 <blockquote>
22 <p>{{ review.review|safe }}</p> 22 <p>{{ review.review|safe }}</p>
23 <small>{{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a></small> 23 <small>{{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a></small>
24 </blockquote> 24 </blockquote>
25 </li> 25 </li>