Mercurial > public > bravenewsurf
view 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 |
line wrap: on
line source
{% extends 'base.html' %} {% load core_tags %} {% block title %}Reviews{% endblock %} {% block custom_css %} <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/redmond/jquery-ui.css"> {% endblock %} {% block custom_js %} <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script> {% endblock %} {% block content %} {% navbar 'reviews' %} <h1>Reviews</h1> <div class="reviews"> <ul class="review-list"> {% for review in object_list %} <li class="review-list-item"> <blockquote> <p>{{ review.review|safe }}</p> <small>{{ review.reviewer }} - <a href="{{ review.review_url }}">{{ review.review_url }}</a></small> </blockquote> </li> {% endfor %} </ul> {% endblock %}