X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/735e53fa41a4911c1464a25ed0f24ac8769b878f..6257e70f7b73d39922d5160c648b418c4ac180a2:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index b9bf28b..2799cf3 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -5,13 +5,26 @@ {% block content %}

{{ s.adjective }}

Made on {{ s.date_made }} and added by {{ s.user.username }}.

- + {% if s.picture %} + + {% endif %}

Ingredients

-

Notes

-

{{ s.notes }}

+ {% if s.notes %} +

Notes

+

{{ s.notes }}

+ {% endif %} + {% load comments %} + {% get_comment_count for s as c %} +

Comments

+ {% get_comment_list for s as clist %} + {% for comment in clist %} +

{{ comment.user_name }} said:

+

{{ comment.comment }}

+

{{ comment.submit_date }}

+ {% endfor %} {% endblock %} \ No newline at end of file