X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/25e2e5d9d53f08724f2fe9661265d58d850c5d17..da28c6fb169effe61e783f01b1f26d614d96f0e8:/templates/onesandwich.html?ds=inline
diff --git a/templates/onesandwich.html b/templates/onesandwich.html
index 60ea42b..d88cfbd 100644
--- a/templates/onesandwich.html
+++ b/templates/onesandwich.html
@@ -4,7 +4,17 @@
{% block content %}
{{ s.adjective }}
- Made on {{ s.date_made|date:"F j Y" }} and added by {% if s.user.first_name %} {{ s.user.first_name }} {% if s.user.last_name %} {{ s.user.last_name }} {% endif %} {% else %} {{ s.user.username }}. {% endif %}
+ 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 %}
@@ -36,6 +46,7 @@
{{ comment.comment }}
{{ comment.submit_date }}
{% endfor %}
+
{% render_comment_form for s %}
{% endblock %}
\ No newline at end of file