{% extends "base.html" %} {% block title %} The {{ s.adjective }} Ma'ayanwich {% endblock %} {% block content %}

{{ s.adjective }}

Made on {{ s.date_made|date:"F j Y" }} and added by {% ifequal s.user request.user %} you. (Edit) {% else %} {% if s.user.first_name %} {{ s.user.first_name }} {% if s.user.last_name %} {{ s.user.last_name }} {% endif %} {% else %} {{ s.user.username }}. {% endif %} {% endifequal %}

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

Ingredients

{% if s.notes %}

Notes

{{ s.notes }}

{% endif %} {% load comments %} {% get_comment_count for s as c %} {% ifequal c 1 %}

1 Comment

{% else %} {% ifequal c 0 %}

No comments

{% else %}

{{c}} Comments

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

{{ comment.user_name }} said:

{{ comment.comment }}

{{ comment.submit_date }}

{% endfor %}

Add a Comment

{% render_comment_form for s %} {% endblock %}