Skip to content

Commit 57f4867

Browse files
authored
Update form.md
Improvement to wording of comment editing
1 parent d7870c7 commit 57f4867

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/comment/form.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This is a **required** parameter if you are using comment previews indicating wh
7474

7575
You can hard code the comment for tag to display a comment form for a specific channel entry by its URL title.
7676

77-
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belong to.
77+
NOTE: **Note:** This parameter takes precedence over any entry specified dynamically in the URL, so when using this parameter you will want to make sure it is clear to the user which entry the displayed comment form belongs to.
7878

7979
#### `channel=`
8080

@@ -174,7 +174,7 @@ The following conditionals are available:
174174

175175
## Allowing Members to Edit Comments on the Front End
176176

177-
The available tags and variables allow you to write your own client side code for implementing comment editing. The following is a simplified example using jQuery.
177+
The available tags and variables allow you to write your own client-side code for implementing comment editing. The following is a simplified example using jQuery.
178178

179179
### Example Code
180180

@@ -227,13 +227,13 @@ A request for an edit will return a response array. In the case of an error, an
227227

228228
### Editing Permissions
229229

230-
The {if editable} conditional in the Comment Entries tag outputs content when the viewing member has permission to edit the comment indicated while the {if can_moderate_comment} outputs content if they have permission to close the comment.
230+
By using the [{if editable}](/comment/entries.html#if-editable) conditional in the Comment Entries tag, you can output a link, instructions or a form if the viewing member has permission to edit the comment, and by using the {if can_moderate_comment} you can display whatever is appropriate if the viewing member has permission to moderate (close) the comment.
231231

232-
For regular members, in order to edit comments they must be a logged in member, the author of the comment, and the editing time limit must not have expired.
232+
For default regular members, in order to edit a comment, they must be logged in, the author of the comment, and the editing time limit must not have expired. If a member has a role with permission to edit the comments of any entry, that member will have edit permissions regardless of the editing time limit.
233233

234-
Comment moderators may close the comment. Superadmins will always have {editable} and {can_moderate_comment} permissions on any comment.
234+
Comment moderators may close the comment. The edit time limit does not apply to moderators.
235235

236-
Lastly, if a member is in a group with permission to edit comments in any entry, they will have edit permissions. The edit time limit does not apply to moderators.
236+
Superadmins will always have {editable} and {can_moderate_comment} permissions on any comment.
237237

238238
### Customizing Client-Side Code
239239

0 commit comments

Comments
 (0)