Commenting form explanation added.
svn path=/plone.app.discussion/trunk/; revision=40167
This commit is contained in:
parent
c364630a8c
commit
d77ca9d583
@ -39,6 +39,23 @@ $(document).ready(function () {
|
|||||||
$(document.body).append(comments);
|
$(document.body).append(comments);
|
||||||
|
|
||||||
// Create a basic commenting form
|
// 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"))
|
var commentform = $(document.createElement("div"))
|
||||||
.append($(document.createElement("form"))
|
.append($(document.createElement("form"))
|
||||||
.addClass("form")
|
.addClass("form")
|
||||||
|
Loading…
Reference in New Issue
Block a user