1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add support for single comments

Showing buttons in context

Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
Jonas Franz
2018-05-11 13:40:17 +02:00
parent 3e5f3c349e
commit 61cc13499a
3 changed files with 16 additions and 7 deletions

View File

@@ -363,7 +363,7 @@ type CodeCommentForm struct {
Line int64
TreePath string `form:"path" binding:"Required"`
CommitSHA string `form:"commit_id" binding:"Required"`
IsReview bool `form:"is_review" binding:"Required"`
IsReview bool `form:"is_review"`
}
// Validate validates the fields