1 {% extends "base.html" %}
3 {% block title %} The {{ s.adjective }} Ma'ayanwich {% endblock %}
6 <h3 class="sandwichtitle">{{ s.adjective }}</h3>
7 <p class="metadata">Made on {{ s.date_made }} and added by {{ s.user.username }}.</p>
9 <img class="sandwichimg" src="{{ s.picture.url }}">
11 <h4 class="sandwichsub">Ingredients</h4>
12 <ul class="ingredients">
13 {% for i in s.ingredients.all %}
18 <h4 class="sandwichsub">Notes</h5>
19 <p class="sandnotes"> {{ s.notes }}</p>
22 {% get_comment_count for s as c %}
23 <h4 class="sandwichsub">Comments</h5>
24 {% get_comment_list for s as clist %}
25 {% for comment in clist %}
26 <p class="comment_user">{{ comment.user_name }} said:</p>
27 <p class="sandnotes">{{ comment.comment }}</p>
28 <p class="metadata">{{ comment.submit_date }}</p>