正如标题所说,我的开始形式没有开始,有人能看到我错过的东西吗?
<div class="row">
@using (Html.BeginForm("AddComment", "BlogPosts", new { blogid = blogidx }, FormMethod.Post))
{
<div class="col-md-12 no-padding">
<div class="col-md-4">
@Html.TextBoxFor(o=>o.Author)
</div>
</div>
<div class="col-md-12">
@Html.TextAreaFor(o=>o.Comment)
<button type="submit">Post comment</button>
</div>
}
</div>