#20029: Fixing invalid empty span tag

Work Item: 20029
This commit is contained in:
jasperd
2013-08-17 23:07:41 +02:00
committed by Sebastien Ros
parent 4940de0347
commit f7d3f4a9a6

View File

@@ -27,7 +27,7 @@ else if (WorkContext.CurrentUser == null && !AuthorizedFor(Permissions.AddCommen
}
else {
@Html.ValidationSummary()
<span id="comment-form-beacon" />
<span id="comment-form-beacon"></span>
using (Html.BeginFormAntiForgeryPost(Url.Action("Create", "Comment", new { Area = "Orchard.Comments", ReturnUrl = Context.Request.ToUrlString() }), FormMethod.Post, new { @class = "comment-form" })) {
if (TempData.ContainsKey("Comments.InvalidCommentEditorShape")) {
@Display(TempData["Comments.InvalidCommentEditorShape"]);