X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/cf85775b60d096583ec64a257e8a6afe47e21cd2..21a5b5aafd25a996530e2575b32fca7a0ccac30d:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index a8096db..e1654fa 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -1,17 +1,42 @@ - -
-Made on {{ s.date_made }} and added by {{ s.user.username }}.
- -{{ s.notes }}
- - \ No newline at end of file +{% extends "base.html" %} + +{% block title %} The {{ s.adjective }} Ma'ayanwich {% endblock %} + +{% block content %} +{{ s.notes }}
+ {% endif %} + {% load comments %} + {% get_comment_count for s as c %} + {% ifequal c 1 %} +No comments
+ {% else %} +{{ comment.user_name }} said:
+{{ comment.comment }}
+ + {% endfor %} + +