@model Application.PublishCommentCommand
@{
  ViewData["Title"] = "Add a new comment";
}

<h1>Add a comment to "@ViewData["Url"]"</h1>

<form method="post">
  <input type="hidden" asp-for="@Model.LinkId">

  <label asp-for="@Model.Content">Your comment</label>
  <textarea asp-for="@Model.Content"></textarea>
  <span asp-validation-for="@Model.Content"></span>

  <button type="submit">Post!</button>
</form>