Commenting form explanation added.

svn path=/plone.app.discussion/trunk/; revision=40167
This commit is contained in:
Timo Stollenwerk 2010-09-23 14:46:24 +00:00
parent c364630a8c
commit d77ca9d583

View File

@ -37,8 +37,25 @@ $(document).ready(function () {
))
);
$(document.body).append(comments);
// Create a basic commenting form
//
// <form class="form">
// <div class="formfield-form-widgets-in_reply_to">
// <input name="form.widgets.in_reply_to">
// </div>
// <div class="formfield-form-widgets-author_name">
// <input name="form.widgets.author" type="text">
// </div>
// <div class="formfield-form-widgets-text">
// <textarea name="form.widgets.text"></textarea>
// </div>
// <div class="formControls">
// <input name="form.buttons.comment">
// <input name="form.buttons.cancel">
// </div>
// </form>
var commentform = $(document.createElement("div"))
.append($(document.createElement("form"))
.addClass("form")