X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/2fa1060c2b4ff808834251a9e36be456b6af896f..25e2e5d9d53f08724f2fe9661265d58d850c5d17:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index 0feaa5b..60ea42b 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -1,17 +1,41 @@ - -
-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 %} +