Made the CSS pretty (the CSS file hasn't been committed yet), plus added comment...
[~kgodey/maayanwich.git] / templates / onesandwich.html
index bc3c013..2799cf3 100644 (file)
                <h4 class="sandwichsub">Notes</h5>
                <p class="sandnotes"> {{ s.notes }}</p>
        {% endif %}
+       {% load comments %}
+       {% get_comment_count for s as c %}
+       <h4 class="sandwichsub">Comments</h5>
+       {% get_comment_list for s as clist %}
+       {% for comment in clist %}
+               <p class="comment_user">{{ comment.user_name }} said:</p>
+               <p class="sandnotes">{{ comment.comment }}</p>
+               <p class="metadata">{{ comment.submit_date }}</p>
+       {% endfor %}
 {% endblock %}
\ No newline at end of file