Mercurial > public > sg101
comparison gpp/templates/forums/topic.html @ 233:6dde069debd4
Fix bug in r246.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 01 Aug 2010 21:30:22 +0000 |
parents | a46788862737 |
children | 593fb6dbd449 |
comparison
equal
deleted
inserted
replaced
232:a46788862737 | 233:6dde069debd4 |
---|---|
57 <a name="forum-reply-form"></a> | 57 <a name="forum-reply-form"></a> |
58 {% show_form "Reply to Topic" form "Submit Reply" 1 MEDIA_URL %} | 58 {% show_form "Reply to Topic" form "Submit Reply" 1 MEDIA_URL %} |
59 {% endif %} | 59 {% endif %} |
60 | 60 |
61 {% if user.is_authenticated %} | 61 {% if user.is_authenticated %} |
62 <form action={% if is_bookmarked %}"{% url forums-unfavorite_topic topic.id %}"{% else %}"{% url forums-favorite_topic topic.id %}"{% endif %} method="post">{% csrf_token %} | 62 <form action={% if is_favorite %}"{% url forums-unfavorite_topic topic.id %}"{% else %}"{% url forums-favorite_topic topic.id %}"{% endif %} method="post">{% csrf_token %} |
63 <fieldset> | 63 <fieldset> |
64 <legend>Favorite Options</legend> | 64 <legend>Favorite Options</legend> |
65 <p> | 65 <p> |
66 {% if is_favorite %} | 66 {% if is_favorite %} |
67 <img src="{{ MEDIA_URL }}icons/delete.png" alt="Favorite" /> | 67 <img src="{{ MEDIA_URL }}icons/delete.png" alt="Favorite" /> |