fix form action links in the moderation view.

svn path=/plone.app.discussion/trunk/; revision=27382
This commit is contained in:
Timo Stollenwerk 2009-06-11 13:44:22 +00:00
parent 473699dea0
commit 29466425bb
1 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@
class="background-form"
method="post"
style="display: inline"
tal:attributes="action string:${item/getURL}/@@review-publish-comment">
tal:attributes="action string:${item/getURL}/@@moderate-publish-comment">
<input type="hidden" name="comment_id" tal:attributes="value item/getId" />
<input type="hidden" name="action" tal:attributes="value view/transition" />
<input class="context comment-publish-button"
@ -104,7 +104,7 @@
method="post"
class="background-form"
style="display: inline"
tal:attributes="action string:${item/getURL}/@@review-delete-comment">
tal:attributes="action string:${item/getURL}/@@moderate-delete-comment">
<input type="hidden" name="comment_id" tal:attributes="value item/getId" />
<input class="destructive comment-delete-button"
type="submit"