Mercurial > public > sg101
annotate gpp/templates/forums/edit_post.html @ 260:3a4bbf9c2cce
Fixing #107. Apparently some signal handlers were getting connected twice (double import?) and thus saving a forum post would cause 2 email notifications to go out to the post topic's subscribers. Use the dispatch_uid parameter in the connect call to work around this issue.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 22 Sep 2010 00:24:59 +0000 |
parents | 2d299909e074 |
children | 593fb6dbd449 |
rev | line source |
---|---|
bgneal@106 | 1 {% extends 'base.html' %} |
bgneal@127 | 2 {% load forum_tags %} |
bgneal@106 | 3 {% block title %}Forums: Edit Post{% endblock %} |
bgneal@106 | 4 {% block custom_js %}{{ form.media }}{% endblock %} |
bgneal@106 | 5 {% block content %} |
bgneal@106 | 6 <h2>Forums: Edit Post</h2> |
bgneal@106 | 7 |
bgneal@106 | 8 <h3> |
bgneal@106 | 9 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » |
bgneal@106 | 10 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » |
bgneal@106 | 11 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> |
bgneal@106 | 12 </h3> |
bgneal@106 | 13 |
bgneal@106 | 14 <div class="forum-block"> |
bgneal@106 | 15 <table class="forum-topic" id="forum-topic"> |
bgneal@106 | 16 {% include 'forums/display_post.html' %} |
bgneal@106 | 17 </table> |
bgneal@106 | 18 |
bgneal@106 | 19 <a name="forum-reply-form"></a> |
bgneal@127 | 20 {% show_form "Edit Post" form "Update Post" 0 MEDIA_URL %} |
bgneal@123 | 21 </div> |
bgneal@106 | 22 {% endblock %} |