X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/cf85775b60d096583ec64a257e8a6afe47e21cd2..6257e70f7b73d39922d5160c648b418c4ac180a2:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index a8096db..2799cf3 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -1,17 +1,30 @@ - - - Every Ma'ayanwich Ever! - -

{{ s.adjective }}

-

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

- -
Ingredients
- -
Notes
-

{{ s.notes }}

- - \ No newline at end of file +{% extends "base.html" %} + +{% block title %} The {{ s.adjective }} Ma'ayanwich {% endblock %} + +{% block content %} +

{{ s.adjective }}

+

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

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

Ingredients

+ + {% 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